diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-02-14 18:13:31 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-02-14 18:13:31 +0000 |
commit | 556c45e9c5ff293a9cf4136f4fe8b8592bab992a (patch) | |
tree | 314015c9dc39868f7e7efb5565ef12d07e87e285 /clang/lib/StaticAnalyzer/Frontend/CMakeLists.txt | |
parent | 4ec3cf99371e55ecb261c32fc28859fe90183b7b (diff) | |
download | bcm5719-llvm-556c45e9c5ff293a9cf4136f4fe8b8592bab992a.tar.gz bcm5719-llvm-556c45e9c5ff293a9cf4136f4fe8b8592bab992a.zip |
[analyzer] Overhauling of the checker registration mechanism.
-Checkers will be defined in the tablegen file 'Checkers.td'.
-Apart from checkers, we can define checker "packages" that will contain a collection of checkers.
-Checkers can be enabled with -analyzer-checker=<name> and disabled with -analyzer-disable-checker=<name> e.g:
Enable checkers from 'cocoa' and 'corefoundation' packages except the self-initialization checker:
-analyzer-checker=cocoa -analyzer-checker=corefoundation -analyzer-disable-checker=cocoa.SelfInit
-Introduces CheckerManager and CheckerProvider. CheckerProviders get the set of checker names to enable/disable and
register them with the CheckerManager which will be the entry point for all checker-related functionality.
Currently only the self-initialization checker takes advantage of the new mechanism.
llvm-svn: 125503
Diffstat (limited to 'clang/lib/StaticAnalyzer/Frontend/CMakeLists.txt')
-rw-r--r-- | clang/lib/StaticAnalyzer/Frontend/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/StaticAnalyzer/Frontend/CMakeLists.txt b/clang/lib/StaticAnalyzer/Frontend/CMakeLists.txt index 66a994bf5c6..505c0cf4402 100644 --- a/clang/lib/StaticAnalyzer/Frontend/CMakeLists.txt +++ b/clang/lib/StaticAnalyzer/Frontend/CMakeLists.txt @@ -4,6 +4,7 @@ set(LLVM_USED_LIBS clangBasic clangLex clangAST clangFrontend clangRewrite) add_clang_library(clangStaticAnalyzerFrontend AnalysisConsumer.cpp + CheckerRegistration.cpp FrontendActions.cpp ) |