aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-reduce/llvm-reduce.cpp
diff options
context:
space:
mode:
authorTimm Bäder <tbaeder@redhat.com>2021-07-21 12:03:05 +0200
committerTimm Bäder <tbaeder@redhat.com>2021-07-22 09:47:55 +0200
commit924d62ca4a856f11caf90fd48ebc924733c5c3dc (patch)
treef36457f96209cfd5a53b7cf5b23ae5614622c549 /llvm/tools/llvm-reduce/llvm-reduce.cpp
parentf443793d26c39a78cfedea5a8cc2ad23e1253d84 (diff)
downloadllvm-924d62ca4a856f11caf90fd48ebc924733c5c3dc.zip
llvm-924d62ca4a856f11caf90fd48ebc924733c5c3dc.tar.gz
llvm-924d62ca4a856f11caf90fd48ebc924733c5c3dc.tar.bz2
[llvm][tools] Hide remaining unrelated llvm- tool options
Differential Revision: https://reviews.llvm.org/D106430
Diffstat (limited to 'llvm/tools/llvm-reduce/llvm-reduce.cpp')
-rw-r--r--llvm/tools/llvm-reduce/llvm-reduce.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/tools/llvm-reduce/llvm-reduce.cpp b/llvm/tools/llvm-reduce/llvm-reduce.cpp
index 614ca45..43dd15f 100644
--- a/llvm/tools/llvm-reduce/llvm-reduce.cpp
+++ b/llvm/tools/llvm-reduce/llvm-reduce.cpp
@@ -105,6 +105,7 @@ void writeOutput(Module *M, StringRef Message) {
int main(int Argc, char **Argv) {
InitLLVM X(Argc, Argv);
+ cl::HideUnrelatedOptions({&Options, &getColorCategory()});
cl::ParseCommandLineOptions(Argc, Argv, "LLVM automatic testcase reducer.\n");
if (PrintDeltaPasses) {