diff options
author | Fangrui Song <i@maskray.me> | 2022-06-04 00:10:42 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-06-04 00:10:42 -0700 |
commit | 36c7d79dc4c114728b5f003bf48cd7a41bf932a4 (patch) | |
tree | 2c93a345644f33c893a569fd1cb267b80d39908a /llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp | |
parent | bcfc0a9051014437b55ab932d9aca5ecdca6776b (diff) | |
download | llvm-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.cpp | 7 |
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 }; |