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/lib/Support/Debug.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/lib/Support/Debug.cpp')
-rw-r--r-- | llvm/lib/Support/Debug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Debug.cpp b/llvm/lib/Support/Debug.cpp index 5470d93..98a9ac4 100644 --- a/llvm/lib/Support/Debug.cpp +++ b/llvm/lib/Support/Debug.cpp @@ -132,7 +132,7 @@ struct CreateDebugOnly { "debug-only", cl::desc("Enable a specific type of debug output (comma separated list " "of types)"), - cl::Hidden, cl::ZeroOrMore, cl::value_desc("debug string"), + cl::Hidden, cl::value_desc("debug string"), cl::location(DebugOnlyOptLoc), cl::ValueRequired); } }; |