aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorKristof Umann <kristof.umann@ericsson.com>2019-05-23 20:47:28 +0000
committerKristof Umann <kristof.umann@ericsson.com>2019-05-23 20:47:28 +0000
commite8df27d9256b38ec1a2467a1b9c087b00ffd17cc (patch)
tree7b17d3776217690e58a62413e1e8d104d0b1c693 /clang/lib/Frontend/CompilerInvocation.cpp
parentdab31924e9c790555f916d21e6575e7f1e1cd5b7 (diff)
downloadllvm-e8df27d9256b38ec1a2467a1b9c087b00ffd17cc.zip
llvm-e8df27d9256b38ec1a2467a1b9c087b00ffd17cc.tar.gz
llvm-e8df27d9256b38ec1a2467a1b9c087b00ffd17cc.tar.bz2
[analyzer] Add a new frontend flag to display all checker options
Add the new frontend flag -analyzer-checker-option-help to display all checker/package options. Differential Revision: https://reviews.llvm.org/D57858 llvm-svn: 361552
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 7cdc050..877e70b 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -286,6 +286,7 @@ static bool ParseAnalyzerArgs(AnalyzerOptions &Opts, ArgList &Args,
Opts.ShowCheckerHelp = Args.hasArg(OPT_analyzer_checker_help);
Opts.ShowCheckerHelpHidden = Args.hasArg(OPT_analyzer_checker_help_hidden);
+ Opts.ShowCheckerOptionList = Args.hasArg(OPT_analyzer_checker_option_help);
Opts.ShowConfigOptionsList = Args.hasArg(OPT_analyzer_config_help);
Opts.ShowEnabledCheckerList = Args.hasArg(OPT_analyzer_list_enabled_checkers);
Opts.ShouldEmitErrorsOnInvalidConfigValue =