aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
diff options
context:
space:
mode:
authorKristof Umann <kristof.umann@ericsson.com>2019-05-23 22:52:09 +0000
committerKristof Umann <kristof.umann@ericsson.com>2019-05-23 22:52:09 +0000
commitac95c86511342b5d42c2915f681fe1c15ab8aac9 (patch)
tree3f373235e2eafb15b82ad6f932151d39f34f9c3d /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
parent342571e8d6eb1afb151ae1103431798e3d24054f (diff)
downloadllvm-ac95c86511342b5d42c2915f681fe1c15ab8aac9.zip
llvm-ac95c86511342b5d42c2915f681fe1c15ab8aac9.tar.gz
llvm-ac95c86511342b5d42c2915f681fe1c15ab8aac9.tar.bz2
[analyzer] List checker/plugin options in 3 categories: released, alpha, developer
Same patch as D62093, but for checker/plugin options, the only difference being that options for alpha checkers are implicitly marked as alpha. Differential Revision: https://reviews.llvm.org/D62093 llvm-svn: 361566
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
-rw-r--r--clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
index a5f51ab..da7aa7b 100644
--- a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
+++ b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
@@ -249,7 +249,8 @@ bool ExecuteCompilerInvocation(CompilerInstance *Clang) {
}
// Honor -analyzer-checker-option-help.
- if (AnOpts.ShowCheckerOptionList || AnOpts.ShowCheckerOptionDeveloperList) {
+ if (AnOpts.ShowCheckerOptionList || AnOpts.ShowCheckerOptionAlphaList ||
+ AnOpts.ShowCheckerOptionDeveloperList) {
ento::printCheckerConfigList(llvm::outs(),
Clang->getFrontendOpts().Plugins,
*Clang->getAnalyzerOpts(),