summaryrefslogtreecommitdiffstats
path: root/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
diff options
context:
space:
mode:
authorKristof Umann <kristof.umann@ericsson.com>2019-09-12 18:53:48 +0000
committerKristof Umann <kristof.umann@ericsson.com>2019-09-12 18:53:48 +0000
commitd977b67ed617f4c1f7e0d1450f3d0adc41cb07b4 (patch)
tree22d75ba6e0a93239d0cca2c0df4048a6e7b59d02 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
parent890f17c256e68f1dddece62c238d43cdfdb84a37 (diff)
downloadbcm5719-llvm-d977b67ed617f4c1f7e0d1450f3d0adc41cb07b4.tar.gz
bcm5719-llvm-d977b67ed617f4c1f7e0d1450f3d0adc41cb07b4.zip
[analyzer] Don't run the analyzer for -analyzer-list-enabled-checkers
Short and sweet. Whenever I use -analyzer-list-enabled-checkers, I'm only interested about the configuration, not about the analysis. Differential Revision: https://reviews.llvm.org/D66714 llvm-svn: 371756
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
-rw-r--r--clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
index 8e17edc7de9..9bf70b793d9 100644
--- a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
+++ b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
@@ -270,6 +270,7 @@ bool ExecuteCompilerInvocation(CompilerInstance *Clang) {
AnOpts,
Clang->getDiagnostics(),
Clang->getLangOpts());
+ return true;
}
// Honor -analyzer-config-help.
OpenPOWER on IntegriCloud