From c32f2c2e0f1b8c8b728d93191566962afdf71d04 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Fri, 4 Dec 2009 20:32:20 +0000 Subject: Replace SymbolReaper::isLive(VarDecl) with SymbolReaper::isLive(VarRegion). llvm-svn: 90582 --- clang/lib/Analysis/BasicStore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/Analysis/BasicStore.cpp') diff --git a/clang/lib/Analysis/BasicStore.cpp b/clang/lib/Analysis/BasicStore.cpp index 45fc11a534a..c2bf7a8d712 100644 --- a/clang/lib/Analysis/BasicStore.cpp +++ b/clang/lib/Analysis/BasicStore.cpp @@ -368,7 +368,7 @@ BasicStoreManager::RemoveDeadBindings(GRState &state, Stmt* Loc, // Iterate over the variable bindings. for (BindingsTy::iterator I=B.begin(), E=B.end(); I!=E ; ++I) { if (const VarRegion *VR = dyn_cast(I.getKey())) { - if (SymReaper.isLive(Loc, VR->getDecl())) + if (SymReaper.isLive(Loc, VR)) RegionRoots.push_back(VR); else continue; -- cgit v1.2.3