diff options
author | Kristof Umann <kristof.umann@ericsson.com> | 2019-04-18 15:19:16 +0000 |
---|---|---|
committer | Kristof Umann <kristof.umann@ericsson.com> | 2019-04-18 15:19:16 +0000 |
commit | b9bc7ec304de008c618cc5aa9e95685a2ceb2a4b (patch) | |
tree | 6adcc5ed0445ddd8224f1adc8b0fc1e1f9244391 /clang/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp | |
parent | c9e4ee9ca995fbbb0b5e7b7b67bf0ffec4ba1046 (diff) | |
download | bcm5719-llvm-b9bc7ec304de008c618cc5aa9e95685a2ceb2a4b.tar.gz bcm5719-llvm-b9bc7ec304de008c618cc5aa9e95685a2ceb2a4b.zip |
[analyzer][NFC] Use capital variable names, move methods out-of-line, rename some in CheckerRegistry
There are barely any lines I haven't changed in these files, so I think I could
might as well leave it in an LLVM coding style conforming state. I also renamed
2 functions and moved addDependency out of line to ease on followup patches.
Differential Revision: https://reviews.llvm.org/D59457
llvm-svn: 358676
Diffstat (limited to 'clang/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp')
-rw-r--r-- | clang/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/clang/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp b/clang/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp index 58f81b4ffb4..4ad362fe1e3 100644 --- a/clang/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp +++ b/clang/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp @@ -50,7 +50,8 @@ void ento::printCheckerHelp(raw_ostream &out, ArrayRef<std::string> plugins, out << "OVERVIEW: Clang Static Analyzer Checkers List\n\n"; out << "USAGE: -analyzer-checker <CHECKER or PACKAGE,...>\n\n"; - CheckerRegistry(plugins, diags, anopts, langOpts).printHelp(out); + CheckerRegistry(plugins, diags, anopts, langOpts) + .printCheckerWithDescList(out); } void ento::printEnabledCheckerList(raw_ostream &out, @@ -60,7 +61,8 @@ void ento::printEnabledCheckerList(raw_ostream &out, const LangOptions &langOpts) { out << "OVERVIEW: Clang Static Analyzer Enabled Checkers List\n\n"; - CheckerRegistry(plugins, diags, anopts, langOpts).printList(out); + CheckerRegistry(plugins, diags, anopts, langOpts) + .printEnabledCheckerList(out); } void ento::printAnalyzerConfigList(raw_ostream &out) { |