aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2022-06-04 00:10:42 -0700
committerFangrui Song <i@maskray.me>2022-06-04 00:10:42 -0700
commit36c7d79dc4c114728b5f003bf48cd7a41bf932a4 (patch)
tree2c93a345644f33c893a569fd1cb267b80d39908a /llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp
parentbcfc0a9051014437b55ab932d9aca5ecdca6776b (diff)
downloadllvm-36c7d79dc4c114728b5f003bf48cd7a41bf932a4.zip
llvm-36c7d79dc4c114728b5f003bf48cd7a41bf932a4.tar.gz
llvm-36c7d79dc4c114728b5f003bf48cd7a41bf932a4.tar.bz2
Remove unneeded cl::ZeroOrMore for cl::opt options
Similar to 557efc9a8b68628c2c944678c6471dac30ed9e8e. This commit handles options where cl::ZeroOrMore is more than one line below cl::opt.
Diffstat (limited to 'llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp')
-rw-r--r--llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp b/llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp
index ad4d6be..a38736e 100644
--- a/llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp
+++ b/llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp
@@ -46,9 +46,10 @@ static cl::list<std::string> InputFiles(cl::Positional,
cl::ZeroOrMore,
cl::cat(LibtoolCategory));
-static cl::opt<std::string> ArchType(
- "arch_only", cl::desc("Specify architecture type for output library"),
- cl::value_desc("arch_type"), cl::ZeroOrMore, cl::cat(LibtoolCategory));
+static cl::opt<std::string>
+ ArchType("arch_only",
+ cl::desc("Specify architecture type for output library"),
+ cl::value_desc("arch_type"), cl::cat(LibtoolCategory));
enum class Operation { None, Static };