aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
diff options
context:
space:
mode:
authorKristof Umann <kristof.umann@ericsson.com>2019-05-23 22:07:16 +0000
committerKristof Umann <kristof.umann@ericsson.com>2019-05-23 22:07:16 +0000
commit7e55ed84d0598f6cbd282985855a6b810025fa93 (patch)
tree11d6db7e26ba5927de221eec85a3f618fcf8025a /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
parentd82ddfa7c37d4814c91f1391d42eff87bc75c9dc (diff)
downloadllvm-7e55ed84d0598f6cbd282985855a6b810025fa93.zip
llvm-7e55ed84d0598f6cbd282985855a6b810025fa93.tar.gz
llvm-7e55ed84d0598f6cbd282985855a6b810025fa93.tar.bz2
[analyzer] Hide developer-only checker/package options by default
These options are now only visible under -analyzer-checker-option-help-developer. Differential Revision: https://reviews.llvm.org/D61839 llvm-svn: 361561
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
-rw-r--r--clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
index ea720c8..a5f51ab 100644
--- a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
+++ b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
@@ -249,7 +249,7 @@ bool ExecuteCompilerInvocation(CompilerInstance *Clang) {
}
// Honor -analyzer-checker-option-help.
- if (Clang->getAnalyzerOpts()->ShowCheckerOptionList) {
+ if (AnOpts.ShowCheckerOptionList || AnOpts.ShowCheckerOptionDeveloperList) {
ento::printCheckerConfigList(llvm::outs(),
Clang->getFrontendOpts().Plugins,
*Clang->getAnalyzerOpts(),