diff options
author | Anna Zaks <ganna@apple.com> | 2011-08-19 22:33:38 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2011-08-19 22:33:38 +0000 |
commit | f86615ca5c985063be4c898363f28bfd77c90434 (patch) | |
tree | 5e461cfbe2c0fc2a403dd9ea03d08ab8b7f5cc01 /clang/lib/Basic/SourceManager.cpp | |
parent | 8022015a166f6a6e2e98e75623578d11a5dae6c5 (diff) | |
download | llvm-f86615ca5c985063be4c898363f28bfd77c90434.zip llvm-f86615ca5c985063be4c898363f28bfd77c90434.tar.gz llvm-f86615ca5c985063be4c898363f28bfd77c90434.tar.bz2 |
Static Analyzer Diagnostics: Kill the addVisitorCreator(callbackTy, void*) API in favor of addVisitor(BugReporterVisitor*).
1) Create a header file to expose the predefined visitors. And move the parent(BugReporterVisitor) there as well.
2) Remove the registerXXXVisitor functions - the Visitor constructors/getters can be used now to create the object. One exception is registerVarDeclsLastStore(), which registers more then one visitor, so make it static member of FindLastStoreBRVisitor.
3) Modify all the checkers to use the new API.
llvm-svn: 138126
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions