diff options
author | Kristof Umann <kristof.umann@ericsson.com> | 2019-05-23 22:07:16 +0000 |
---|---|---|
committer | Kristof Umann <kristof.umann@ericsson.com> | 2019-05-23 22:07:16 +0000 |
commit | 7e55ed84d0598f6cbd282985855a6b810025fa93 (patch) | |
tree | 11d6db7e26ba5927de221eec85a3f618fcf8025a /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | d82ddfa7c37d4814c91f1391d42eff87bc75c9dc (diff) | |
download | bcm5719-llvm-7e55ed84d0598f6cbd282985855a6b810025fa93.tar.gz bcm5719-llvm-7e55ed84d0598f6cbd282985855a6b810025fa93.zip |
[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/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index 34693af8f4f..36519c6d487 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -289,6 +289,8 @@ static bool ParseAnalyzerArgs(AnalyzerOptions &Opts, ArgList &Args, Opts.ShowCheckerHelpDeveloper = Args.hasArg(OPT_analyzer_checker_help_developer); Opts.ShowCheckerOptionList = Args.hasArg(OPT_analyzer_checker_option_help); + Opts.ShowCheckerOptionDeveloperList = + Args.hasArg(OPT_analyzer_checker_option_help_developer); Opts.ShowConfigOptionsList = Args.hasArg(OPT_analyzer_config_help); Opts.ShowEnabledCheckerList = Args.hasArg(OPT_analyzer_list_enabled_checkers); Opts.ShouldEmitErrorsOnInvalidConfigValue = |