llvm-project/clang/tools/driver
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
..
CMakeLists.txt Prune Redundant libdeps in CMake's target_link_libraries and LLVMBuild.txt. 2014-07-15 11:37:03 +00:00
Info.plist.in build/Darwin: Add missing Info.plist template. 2010-07-15 20:26:56 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
cc1_main.cpp ArrayRef'ize 2014-08-15 21:38:36 +00:00
cc1as_main.cpp Update Clang for LLVM API change to use unique_ptr in SourceManager::AddNewSourceBuffer 2014-08-21 21:01:00 +00:00
clang_symlink.cmake cmake: install a cl.exe binary in the tools/msbuild-bin dir 2013-08-28 01:58:44 +00:00
driver.cpp Fix PR17239 by changing the semantics of the RemainingArgsClass Option kind 2014-08-22 19:29:30 +00:00