diff options
author | Kristof Umann <dkszelethus@gmail.com> | 2018-12-15 18:11:49 +0000 |
---|---|---|
committer | Kristof Umann <dkszelethus@gmail.com> | 2018-12-15 18:11:49 +0000 |
commit | b0be2ab4d0c6838f20b670f2186aefb3859e6e05 (patch) | |
tree | 8df2335341c9333bc324121a8199e2d24fd5217e /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
parent | 22163d8c5546bad98fc8c46d8825d5edcd785029 (diff) | |
download | bcm5719-llvm-b0be2ab4d0c6838f20b670f2186aefb3859e6e05.tar.gz bcm5719-llvm-b0be2ab4d0c6838f20b670f2186aefb3859e6e05.zip |
[analyzer][NFC] Merge ClangCheckerRegistry to CheckerRegistry
Now that CheckerRegistry lies in Frontend, we can finally eliminate
ClangCheckerRegistry. Fortunately, this also provides us with a
DiagnosticsEngine, so I went ahead and removed some parameters from it's
methods.
Differential Revision: https://reviews.llvm.org/D54437
llvm-svn: 349280
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
-rw-r--r-- | clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp index 5239a7e6f85..7015772fa16 100644 --- a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp +++ b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp @@ -238,7 +238,8 @@ bool ExecuteCompilerInvocation(CompilerInstance *Clang) { // Honor -analyzer-checker-help. // This should happen AFTER plugins have been loaded! if (Clang->getAnalyzerOpts()->ShowCheckerHelp) { - ento::printCheckerHelp(llvm::outs(), Clang->getFrontendOpts().Plugins); + ento::printCheckerHelp(llvm::outs(), Clang->getFrontendOpts().Plugins, + Clang->getDiagnostics()); return true; } |