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 | 41168eac256fed59ec5406a75fce91c59cd5dd91 (patch) | |
tree | fb4c2123aec1baf7a801e74a6c35510eafc23d2e /lib/Analysis/CFRefCount.cpp | |
parent | fe133d98fd003db818dcc2a0f0dbf7416a01aaed (diff) |
Added the notion of a "boundable region", which is a region that can have a direct binding in the StoreManager.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66005 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CFRefCount.cpp')
-rw-r--r-- | lib/Analysis/CFRefCount.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/CFRefCount.cpp b/lib/Analysis/CFRefCount.cpp index 13805dc5de..5e1857168d 100644 --- a/lib/Analysis/CFRefCount.cpp +++ b/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()) |