diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-12-04 20:32:20 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-12-04 20:32:20 +0000 |
commit | c32f2c2e0f1b8c8b728d93191566962afdf71d04 (patch) | |
tree | 224d2642a7f9c504fdf8de356a83231271963131 /clang/lib/Analysis/BasicStore.cpp | |
parent | 4d633542f29cb569f87b19569fff3dcacac3c674 (diff) | |
download | bcm5719-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.cpp | 2 |
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; |