diff options
author | Fangrui Song <i@maskray.me> | 2022-06-04 23:51:12 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-06-04 23:51:13 -0700 |
commit | d0d1c416cb1eb60c8a9cff8d487c8fea92fe21f2 (patch) | |
tree | f404c40df4d76c8a5b23fc1a391bd29e5d793449 /llvm/unittests/Support/CommandLineTest.cpp | |
parent | e0039b8d6a5bd05e70203962f448569f2d2ef1c2 (diff) | |
download | llvm-d0d1c416cb1eb60c8a9cff8d487c8fea92fe21f2.zip llvm-d0d1c416cb1eb60c8a9cff8d487c8fea92fe21f2.tar.gz llvm-d0d1c416cb1eb60c8a9cff8d487c8fea92fe21f2.tar.bz2 |
Remove unneeded cl::ZeroOrMore for cl::list options
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
-rw-r--r-- | llvm/unittests/Support/CommandLineTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Support/CommandLineTest.cpp b/llvm/unittests/Support/CommandLineTest.cpp index ec9901a..e886cb3 100644 --- a/llvm/unittests/Support/CommandLineTest.cpp +++ b/llvm/unittests/Support/CommandLineTest.cpp @@ -803,7 +803,7 @@ TEST(CommandLineTest, ResponseFileWindows) { GTEST_SKIP(); StackOption<std::string, cl::list<std::string>> InputFilenames( - cl::Positional, cl::desc("<input files>"), cl::ZeroOrMore); + cl::Positional, cl::desc("<input files>")); StackOption<bool> TopLevelOpt("top-level", cl::init(false)); // Create response file. |