summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/BasicStore.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-12-04 20:32:20 +0000
committerTed Kremenek <kremenek@apple.com>2009-12-04 20:32:20 +0000
commitc32f2c2e0f1b8c8b728d93191566962afdf71d04 (patch)
tree224d2642a7f9c504fdf8de356a83231271963131 /clang/lib/Analysis/BasicStore.cpp
parent4d633542f29cb569f87b19569fff3dcacac3c674 (diff)
downloadbcm5719-llvm-c32f2c2e0f1b8c8b728d93191566962afdf71d04.tar.gz
bcm5719-llvm-c32f2c2e0f1b8c8b728d93191566962afdf71d04.zip
Replace SymbolReaper::isLive(VarDecl) with SymbolReaper::isLive(VarRegion).
llvm-svn: 90582
Diffstat (limited to 'clang/lib/Analysis/BasicStore.cpp')
-rw-r--r--clang/lib/Analysis/BasicStore.cpp2
1 files changed, 1 insertions, 1 deletions
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<VarRegion>(I.getKey())) {
- if (SymReaper.isLive(Loc, VR->getDecl()))
+ if (SymReaper.isLive(Loc, VR))
RegionRoots.push_back(VR);
else
continue;
OpenPOWER on IntegriCloud