aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python/modify-python-lldb.py
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2011-08-19 22:33:38 +0000
committerAnna Zaks <ganna@apple.com>2011-08-19 22:33:38 +0000
commitf86615ca5c985063be4c898363f28bfd77c90434 (patch)
tree5e461cfbe2c0fc2a403dd9ea03d08ab8b7f5cc01 /lldb/scripts/Python/modify-python-lldb.py
parent8022015a166f6a6e2e98e75623578d11a5dae6c5 (diff)
downloadllvm-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 'lldb/scripts/Python/modify-python-lldb.py')
0 files changed, 0 insertions, 0 deletions