From 41168eac256fed59ec5406a75fce91c59cd5dd91 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Wed, 4 Mar 2009 02:43:08 +0000 Subject: 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 --- lib/Analysis/CFRefCount.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Analysis/CFRefCount.cpp') 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& Dst, R = dyn_cast(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()) -- cgit v1.2.3