[PATCH] D23060: [analyzer] Show enabled checker list
Gábor Horváth via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 2 07:08:24 PDT 2016
xazax.hun created this revision.
xazax.hun added reviewers: zaks.anna, dcoughlin, NoQ.
xazax.hun added a subscriber: cfe-commits.
This patch adds a command line option to list the checkers that were enabled by analyzer-checker and not disabled by -analyzer-disable-checker.
It can be very useful to debug long command lines when it is not immediately apparent which checkers are turned on and which checkers are turned off.
Clang tidy already has a similar feature.
https://reviews.llvm.org/D23060
Files:
include/clang/Driver/CC1Options.td
include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
include/clang/StaticAnalyzer/Core/CheckerRegistry.h
include/clang/StaticAnalyzer/Frontend/FrontendActions.h
lib/Frontend/CompilerInvocation.cpp
lib/FrontendTool/ExecuteCompilerInvocation.cpp
lib/StaticAnalyzer/Core/CheckerRegistry.cpp
lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp
test/Analysis/analyzer-enabled-checkers.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23060.66469.patch
Type: text/x-patch
Size: 7869 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160802/21538790/attachment-0001.bin>
More information about the cfe-commits
mailing list