summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/CFRefCount.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-06-23 00:46:41 +0000
committerTed Kremenek <kremenek@apple.com>2009-06-23 00:46:41 +0000
commitfb87e308150f079bb602199d661b10d736b9dc55 (patch)
treefb4fafe21ec4789e4729b1997a92d8b4f5a2ae3e /clang/lib/Analysis/CFRefCount.cpp
parent2fe5b26414c3fac29a3b897ba02c2fb494aaab23 (diff)
downloadbcm5719-llvm-fb87e308150f079bb602199d661b10d736b9dc55.tar.gz
bcm5719-llvm-fb87e308150f079bb602199d661b10d736b9dc55.zip
MemRegions:
- Embed a reference to MemRegionManager objects in MemSpaceRegion objects - Use this embedded reference for MemRegion objects to access ASTContext objects without external help - Use this access to ASTContext to simplify 'isBoundable' (no ASTContext& argument required) llvm-svn: 73935
Diffstat (limited to 'clang/lib/Analysis/CFRefCount.cpp')
-rw-r--r--clang/lib/Analysis/CFRefCount.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Analysis/CFRefCount.cpp b/clang/lib/Analysis/CFRefCount.cpp
index c58ceb41932..204fbeeb4a8 100644
--- a/clang/lib/Analysis/CFRefCount.cpp
+++ b/clang/lib/Analysis/CFRefCount.cpp
@@ -2835,7 +2835,7 @@ void CFRefCount::EvalSummary(ExplodedNodeSet<GRState>& Dst,
// Remove any existing reference-count binding.
if (Sym) state = state->remove<RefBindings>(Sym);
- if (R->isBoundable(Ctx)) {
+ if (R->isBoundable()) {
// Set the value of the variable to be a conjured symbol.
unsigned Count = Builder.getCurrentBlockCount();
QualType T = R->getValueType(Ctx);
OpenPOWER on IntegriCloud