summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/GRExprEngine.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-11-03 23:30:34 +0000
committerTed Kremenek <kremenek@apple.com>2009-11-03 23:30:34 +0000
commit0fbbb0877dbb06d2f0191d6ef8b75b69c5035473 (patch)
tree7c27b3eb051f4952036ac7f8e0c30ced56a79819 /clang/lib/Analysis/GRExprEngine.cpp
parent53f9ded62b69c259f96be86fecc3c15e2398d404 (diff)
downloadbcm5719-llvm-0fbbb0877dbb06d2f0191d6ef8b75b69c5035473.tar.gz
bcm5719-llvm-0fbbb0877dbb06d2f0191d6ef8b75b69c5035473.zip
Change GRTransferFuncs::RegisterChecks() to take a GRExprEngine& instead of a BugReporter&. This paves the way for pulling some of the retain/release checker into a "Checker" class.
llvm-svn: 85971
Diffstat (limited to 'clang/lib/Analysis/GRExprEngine.cpp')
-rw-r--r--clang/lib/Analysis/GRExprEngine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Analysis/GRExprEngine.cpp b/clang/lib/Analysis/GRExprEngine.cpp
index eb8c39c3066..4c538c8dc8a 100644
--- a/clang/lib/Analysis/GRExprEngine.cpp
+++ b/clang/lib/Analysis/GRExprEngine.cpp
@@ -178,7 +178,7 @@ GRExprEngine::~GRExprEngine() {
void GRExprEngine::setTransferFunctions(GRTransferFuncs* tf) {
StateMgr.TF = tf;
- tf->RegisterChecks(getBugReporter());
+ tf->RegisterChecks(*this);
tf->RegisterPrinters(getStateManager().Printers);
}
OpenPOWER on IntegriCloud