[PATCH] Fix PR17239 by changing the semantics of the RemainingArgsClass Option kind

Rafael Auler rafaelauler at gmail.com
Fri Aug 15 13:15:19 PDT 2014


Hi Rafael,

Regarding the generality of this approach, I agree that it seems more that what is needed. However, I ran into a problem when trying to implement a simpler way. Consider the following situation (in my test case):

clang-cl /link @response.txt /align...(some linker flag)

If we implement the "null" approach here, we would insert a null after response.txt and would prematurely end which arguments "/link" get. 

Regards,
Rafael Auler

http://reviews.llvm.org/D4899






More information about the llvm-commits mailing list