diff options
author | Fangrui Song <i@maskray.me> | 2022-06-05 00:31:44 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-06-05 00:31:44 -0700 |
commit | d86a206f06a51c12a9fcf2c20199f4e819751c0c (patch) | |
tree | 863e591c1cf2032925cdc13e79d9c3f424a636a0 /llvm/unittests/Support/CommandLineTest.cpp | |
parent | 2c4d52467a25aed5ec9ed868fe8b74a1a67d1535 (diff) | |
download | llvm-d86a206f06a51c12a9fcf2c20199f4e819751c0c.zip llvm-d86a206f06a51c12a9fcf2c20199f4e819751c0c.tar.gz llvm-d86a206f06a51c12a9fcf2c20199f4e819751c0c.tar.bz2 |
Remove unneeded cl::ZeroOrMore for cl::opt/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 e886cb3..d853928 100644 --- a/llvm/unittests/Support/CommandLineTest.cpp +++ b/llvm/unittests/Support/CommandLineTest.cpp @@ -1154,7 +1154,7 @@ TEST(CommandLineTest, PositionalEatArgsError) { StackOption<std::string, cl::list<std::string>> PosEatArgs( "positional-eat-args", cl::Positional, cl::desc("<arguments>..."), - cl::ZeroOrMore, cl::PositionalEatsArgs); + cl::PositionalEatsArgs); StackOption<std::string, cl::list<std::string>> PosEatArgs2( "positional-eat-args2", cl::Positional, cl::desc("Some strings"), cl::ZeroOrMore, cl::PositionalEatsArgs); |