diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-03-04 02:43:08 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-03-04 02:43:08 +0000 |
commit | d275bf3c5410cb9c1769d5a34a534dcd3dbcab72 (patch) | |
tree | 9ed63ec4239711eaf8e33e97ff4fe2d5ba00db7a /clang/lib/Analysis/CFRefCount.cpp | |
parent | fe8d71f42aeef22a396cc4bd86e00ca329ce925d (diff) | |
download | bcm5719-llvm-d275bf3c5410cb9c1769d5a34a534dcd3dbcab72.tar.gz bcm5719-llvm-d275bf3c5410cb9c1769d5a34a534dcd3dbcab72.zip |
Added the notion of a "boundable region", which is a region that can have a direct binding in the StoreManager.
llvm-svn: 66005
Diffstat (limited to 'clang/lib/Analysis/CFRefCount.cpp')
-rw-r--r-- | clang/lib/Analysis/CFRefCount.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Analysis/CFRefCount.cpp b/clang/lib/Analysis/CFRefCount.cpp index 13805dc5de9..5e1857168dc 100644 --- a/clang/lib/Analysis/CFRefCount.cpp +++ b/clang/lib/Analysis/CFRefCount.cpp @@ -1650,7 +1650,7 @@ void CFRefCount::EvalSummary(ExplodedNodeSet<GRState>& Dst, R = dyn_cast<TypedRegion>(ATR->getSuperRegion()); } - if (R) { + if (R && R->isBoundable(Ctx)) { // Is the invalidated variable something that we were tracking? SymbolRef Sym = state.GetSValAsScalarOrLoc(R).getAsLocSymbol(); if (Sym.isValid()) |