[PATCH] D26310: Add a method to get the list of registered static analyzer checkers.

Anna Zaks via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 5 10:31:00 PDT 2016


zaks.anna added a comment.

Thanks for fixing this!



================
Comment at: lib/StaticAnalyzer/Core/AnalyzerOptions.cpp:39
+    if (IncludeExperimental ||
+        (!CheckName.startswith("debug.") && !CheckName.startswith("alpha.")))
+      Result.push_back(CheckName);
----------------
Debug checkers are not user-facing; they are used to debug the analyzer. So we should either have another flag for them or always skip them.


https://reviews.llvm.org/D26310





More information about the cfe-commits mailing list