llvm-6502/unittests/Support
Reid Kleckner 2e1bf78ad6 Fix PR17239 by changing the semantics of the RemainingArgsClass Option kind
This patch contains the LLVM side of the fix of PR17239.

This bug that 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.

My 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.

Reviewed By: rnk

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

Patch by Rafael Auler!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216280 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-22 19:29:17 +00:00
..
AlignOfTest.cpp
AllocatorTest.cpp BumpPtrAllocator: don't accept 0 for the alignment parameter 2014-08-19 23:35:33 +00:00
ArrayRecyclerTest.cpp
BlockFrequencyTest.cpp
BranchProbabilityTest.cpp
Casting.cpp [C++11] Use 'nullptr'. 2014-06-08 22:29:17 +00:00
CMakeLists.txt Decouple llvm::SpecialCaseList text representation and its LLVM IR semantics. 2014-07-09 19:40:08 +00:00
CommandLineTest.cpp Fix PR17239 by changing the semantics of the RemainingArgsClass Option kind 2014-08-22 19:29:17 +00:00
CompressionTest.cpp
ConvertUTFTest.cpp ConvertUTF tests: remove uses of initializer lists to restore compatibility 2014-06-17 09:33:24 +00:00
DataExtractorTest.cpp [C++11] Use 'nullptr'. 2014-06-08 22:29:17 +00:00
EndianTest.cpp
ErrorOrTest.cpp Finishing touch for the std::error_code transition. 2014-06-13 17:20:48 +00:00
FileOutputBufferTest.cpp Remove the last uses of 'using std::error_code' 2014-06-13 03:20:08 +00:00
formatted_raw_ostream_test.cpp
IteratorTest.cpp
LEB128Test.cpp [Support] Fix the overflow bug in ULEB128 decoding. 2014-08-22 16:29:45 +00:00
LineIteratorTest.cpp
LockFileManagerTest.cpp Asserting that the call to chdir succeeds in this test. Fixes some -Wunused-result warnings. 2014-08-13 11:17:41 +00:00
Makefile
ManagedStatic.cpp Re-apply r211287: Remove support for LLVM runtime multi-threading. 2014-06-27 15:13:01 +00:00
MathExtrasTest.cpp
MD5Test.cpp
MemoryBufferTest.cpp Update the MemoryBuffer API to use ErrorOr. 2014-07-06 17:43:13 +00:00
MemoryTest.cpp Remove the last uses of 'using std::error_code' 2014-06-13 03:20:08 +00:00
Path.cpp Fix expected windows result. 2014-08-09 00:37:05 +00:00
ProcessTest.cpp
ProgramTest.cpp [C++11] Use 'nullptr'. 2014-06-08 22:29:17 +00:00
raw_ostream_test.cpp [C++11] Use 'nullptr'. 2014-06-08 22:29:17 +00:00
RegexTest.cpp
ScaledNumberTest.cpp Remove unused typedef. GCC warns about this. 2014-07-01 15:39:32 +00:00
SourceMgrTest.cpp Explicitly pass ownership of the MemoryBuffer to AddNewSourceBuffer using std::unique_ptr 2014-08-21 20:44:56 +00:00
SpecialCaseListTest.cpp Decouple llvm::SpecialCaseList text representation and its LLVM IR semantics. 2014-07-09 19:40:08 +00:00
StringPool.cpp PR10140 - StringPool's PooledStringPtr has non-const operator== causing bad OR-result. 2014-06-19 00:26:49 +00:00
SwapByteOrderTest.cpp Adding llvm::sys::swapByteOrder() for the common use-case of byte-swapping a value in place 2014-06-14 12:52:55 +00:00
ThreadLocalTest.cpp [C++11] Use 'nullptr'. 2014-06-08 22:29:17 +00:00
TimeValueTest.cpp [C++11] Use 'nullptr'. 2014-06-08 22:29:17 +00:00
UnicodeTest.cpp
YAMLIOTest.cpp Fix bug 20125 - clang-format segfaults on bad config. 2014-08-08 13:58:00 +00:00
YAMLParserTest.cpp Convert an ownership comment with std::uinque_ptr. 2014-08-17 22:20:33 +00:00