[PATCH] D66714: [analyzer] Don't run the analyzer for -analyzer-list-enabled-checkers

Kristóf Umann via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Aug 25 05:24:10 PDT 2019


Szelethus created this revision.
Szelethus added reviewers: NoQ, dcoughlin, baloghadamsoftware, Charusso, rnkovacs, xazax.hun.
Szelethus added a project: clang.
Herald added subscribers: cfe-commits, gamesh411, dkrupp, donat.nagy, mikhail.ramalho, a.sidorin, szepet, whisperity.

Short and sweet. Whenever I use `-analyzer-list-enabled-checkers`, I'm only interested about the configuration, not about the analysis.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D66714

Files:
  clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp


Index: clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
===================================================================
--- clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
+++ clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
@@ -272,6 +272,7 @@
                                   AnOpts,
                                   Clang->getDiagnostics(),
                                   Clang->getLangOpts());
+    return true;
   }
 
   // Honor -analyzer-config-help.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66714.217039.patch
Type: text/x-patch
Size: 483 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190825/6121aa60/attachment.bin>


More information about the cfe-commits mailing list