1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00
llvm-mirror/unittests/Support
Yi-Hong Lyu f21a7a86a2 [CommandLine] Fix cl::ConsumeAfter support with more than one positional argument
Summary:
Currently, cl::ConsumeAfter only works for the case that has exactly one
positional argument. Without the fix, it skip fulfilling first positional
argument and put that additional positional argument in interpreter arguments.

Reviewers: bkramer, Mordante, rnk, lattner, beanz, craig.topper

Reviewed By: rnk

Subscribers: JosephTremoulet, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77242
2020-04-17 02:12:54 -07:00
..
DynamicLibrary Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
AlignmentTest.cpp [Alignment] Add alignTo with skew parameter 2020-03-17 15:54:47 +01:00
AlignOfTest.cpp [NFC] Remove LLVM_ALIGNAS 2019-07-31 03:22:08 +00:00
AllocatorTest.cpp Reland "[llvm] Add a way to speed up the speed in which BumpPtrAllocator increases slab sizes"" 2020-02-03 12:06:15 +01:00
AnnotationsTest.cpp
ARMAttributeParser.cpp [RISCV] ELF attribute section for RISC-V. 2020-03-31 16:16:19 +08:00
ArrayRecyclerTest.cpp
Base64Test.cpp Syndicate, test and fix base64 implementation 2020-03-03 12:17:53 +01:00
BinaryStreamTest.cpp [Support] Split MallocAllocator out of Allocator.h 2020-01-24 17:29:32 -08:00
BlockFrequencyTest.cpp
BranchProbabilityTest.cpp
CachePruningTest.cpp
Casting.cpp [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
CheckedArithmeticTest.cpp
Chrono.cpp
CMakeLists.txt Remove the llvm/Support/StringPool.h file and related support now that it has no clients. A plain old StringSet<> is a better replacement. 2020-04-16 17:57:39 -07:00
CommandLineTest.cpp [CommandLine] Fix cl::ConsumeAfter support with more than one positional argument 2020-04-17 02:12:54 -07:00
CompressionTest.cpp Revert abb00753 "build: reduce CMake handling for zlib" (PR44780) 2020-03-03 11:03:09 +01:00
ConvertUTFTest.cpp
CrashRecoveryTest.cpp [Support] Optionally call signal handlers when a function wrapped by the the CrashRecoveryContext fails 2020-01-11 15:27:07 -05:00
CRCTest.cpp Make llvm::crc32() work also for input sizes larger than 32 bits. 2020-02-05 21:32:11 +01:00
DataExtractorTest.cpp [llvm/Support] Make more DataExtractor methods error-aware 2020-04-06 14:14:11 +02:00
DebugCounterTest.cpp
DebugTest.cpp
DJBTest.cpp
ELFAttributeParserTest.cpp [RISCV] Support RISC-V ELF attributes sections in llvm-readobj. 2020-04-01 21:50:11 +08:00
EndianStreamTest.cpp
EndianTest.cpp
ErrnoTest.cpp
ErrorOrTest.cpp
ErrorTest.cpp [Error/unittests] Add a FailedWithMessage gtest matcher 2020-02-21 15:29:48 +01:00
ExtensibleRTTITest.cpp [Support] Add support RTTI support for open class hierarchies. 2020-04-13 12:52:44 -07:00
FileCheckTest.cpp [FileCheck] Better diagnostic for format conflict 2020-04-15 13:46:45 +01:00
FileCollectorTest.cpp Re-land "[FileCollector] Add a method to add a whole directory and it contents." 2020-03-30 13:19:18 -07:00
FileOutputBufferTest.cpp [LLD][ELF] Support --[no-]mmap-output-file with F_no_mmap 2019-10-29 15:49:08 -07:00
FileUtilitiesTest.cpp [llvm] Replace SmallStr.str().str() with std::string conversion operator. 2020-01-29 21:16:46 -08:00
formatted_raw_ostream_test.cpp
FormatVariadicTest.cpp Use C++14-style return type deduction in LLVM. 2020-02-11 07:38:42 -08:00
GlobPatternTest.cpp Reapply r375051: [support] GlobPattern: add support for \ and [!...], and allow ] in more places 2019-10-17 18:09:05 +00:00
Host.cpp [AArch64] Add support for Fujitsu A64FX 2020-03-09 19:15:09 +09:00
IndexedAccessorTest.cpp [llvm][STLExtras] Move various iterator/range utilities from MLIR to LLVM 2020-04-14 15:14:40 -07:00
ItaniumManglingCanonicalizerTest.cpp llvm-cxxmap: fix support for remapping non-mangled names. 2019-12-18 10:47:02 -08:00
JSONTest.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
KnownBitsTest.cpp [KnownBits] Move AND, OR and XOR logic into KnownBits 2020-04-09 10:10:37 +01:00
LEB128Test.cpp [llvm/Support] Don't crash on empty nullptr ranges when decoding LEBs 2020-04-06 14:14:11 +02:00
LineIteratorTest.cpp
LockFileManagerTest.cpp
ManagedStatic.cpp
MatchersTest.cpp
MathExtrasTest.cpp [Support] Remove byte swapping from MathExtras.h 2020-02-27 17:23:48 -08:00
MD5Test.cpp
MemoryBufferTest.cpp [LLVM][SupportTests] Ask the OS how large the page size is instead of guessing. 2020-04-15 15:12:28 -07:00
MemoryTest.cpp
NativeFormatTests.cpp
OptimizedStructLayoutTest.cpp Rename OptimalLayout to OptimizedStructLayout at Chris's request. 2020-04-10 00:14:20 -04:00
ParallelTest.cpp [ADT/STLExtras.h] - Add llvm::is_sorted wrapper and update callers. 2020-04-14 14:11:02 +03:00
Path.cpp [Support/Path] sys::path::replace_path_prefix fix and simplifications 2020-04-03 13:50:23 -04:00
ProcessTest.cpp Introduce llvm::sys::Process::getProcessId() and adopt it 2020-04-16 15:05:37 +03:00
ProgramTest.cpp Revert "raw_ostream: add operator<< overload for std::error_code" 2019-08-14 13:59:04 +00:00
raw_ostream_test.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
raw_pwrite_stream_test.cpp Revert "raw_ostream: add operator<< overload for std::error_code" 2019-08-14 13:59:04 +00:00
raw_sha1_ostream_test.cpp [Support] Optimize SHA1 implementation 2019-11-11 22:14:28 -08:00
RegexTest.cpp
ReplaceFileTest.cpp Revert "raw_ostream: add operator<< overload for std::error_code" 2019-08-14 13:59:04 +00:00
ReverseIterationTest.cpp [NFC] Fixes -Wrange-loop-analysis warnings 2020-01-07 00:51:41 +01:00
RISCVAttributeParserTest.cpp [RISCV] ELF attribute section for RISC-V. 2020-03-31 16:16:19 +08:00
ScaledNumberTest.cpp
SourceMgrTest.cpp
SpecialCaseListTest.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
SwapByteOrderTest.cpp [Support] Remove byte swapping from MathExtras.h 2020-02-27 17:23:48 -08:00
SymbolRemappingReaderTest.cpp
TargetParserTest.cpp [PATCH] [ARM] ARMv8.6-a command-line + BFloat16 Asm Support 2020-03-26 09:17:20 +00:00
TarWriterTest.cpp
TaskQueueTest.cpp [Support] On Windows, ensure hardware_concurrency() extends to all CPU sockets and all NUMA groups 2020-02-14 10:24:22 -05:00
Threading.cpp [Support] On Windows, ensure hardware_concurrency() extends to all CPU sockets and all NUMA groups 2020-02-14 10:24:22 -05:00
ThreadLocalTest.cpp
ThreadPool.cpp [Support] In tests, fix warning: variable ‘Threads’ set but not used 2020-02-15 09:05:01 -05:00
TimerTest.cpp
TrailingObjectsTest.cpp [Alignment][NFC] Move and type functions from MathExtras to Alignment 2019-10-14 13:14:34 +00:00
TrigramIndexTest.cpp [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
TypeNameTest.cpp
TypeTraitsTest.cpp
UnicodeTest.cpp
VersionTupleTest.cpp
VirtualFileSystemTest.cpp [VirtualFileSystem] Support directory entries in the YAMLVFSWriter 2020-03-27 15:16:52 -07:00
xxhashTest.cpp
YAMLIOTest.cpp Avoid including FileSystem.h from MemoryBuffer.h 2020-02-29 12:30:23 -08:00
YAMLParserTest.cpp Fix null dereference in yaml::Document::skip 2019-11-11 20:48:28 -08:00