llvm-project/clang/tools
Reid Kleckner af5fd6a4d5 Fix PR17239 by changing the semantics of the RemainingArgsClass Option kind
This patch aims at fixing PR17239.

This bug happens because the /link (clang-cl.exe argument) is marked as
"consume all remaining arguments". However, when inside a response file,
/link should only consume all remaining arguments inside the response
file where it is located, not the entire command line after expansion.
The LLVM side of the patch will change the semantics of the
RemainingArgsClass kind to always consume only until the end of the
response file when the option originally came from a response file.
There are only two options in this class: dash dash (--) and /link.

This is the Clang side of the patch in http://reviews.llvm.org/D4899

Reviewered By: rafael, rnk

Differential Revision: http://reviews.llvm.org/D4900

Patch by Rafael Auler!

llvm-svn: 216281
2014-08-22 19:29:30 +00:00
..
arcmt-test Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
c-arcmt-test Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
c-index-test Fix a memory leak in one of the test unit. Silent coverity warning CID 1095912 2014-08-18 15:18:56 +00:00
clang-check Modify behavior of -ast-dump-lookups: if -ast-dump is not also provided, dump 2014-08-11 22:11:07 +00:00
clang-format Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
clang-format-vs Update build instructions for the clang-format VS plugin 2014-08-01 17:38:53 +00:00
diag-build Briefly document diag-build.sh 2013-12-28 21:59:11 +00:00
diagtool Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
driver Fix PR17239 by changing the semantics of the RemainingArgsClass Option kind 2014-08-22 19:29:30 +00:00
libclang [OPENMP] Extract common superclass from all the loop directives. No functional changes (having common superclass is convenient for future loop directives CodeGen implementation) 2014-08-19 11:27:13 +00:00
scan-build Fix a bug when scan-build is used in a cross-compilation environment with 2014-08-08 17:15:13 +00:00
scan-view [analyzer] scan-view: don't ever serve absolute paths. 2013-04-29 17:23:06 +00:00
CMakeLists.txt Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00