summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/BasicStore.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/BasicStore.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/BasicStore.cpp')
-rw-r--r--clang/lib/Analysis/BasicStore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Analysis/BasicStore.cpp b/clang/lib/Analysis/BasicStore.cpp
index fcb405d2d20..dd23f31bbeb 100644
--- a/clang/lib/Analysis/BasicStore.cpp
+++ b/clang/lib/Analysis/BasicStore.cpp
@@ -351,7 +351,7 @@ Store BasicStoreManager::BindInternal(Store store, Loc loc, SVal V) {
// are incompatible. This may also cause lots of breakage
// elsewhere. Food for thought.
if (const TypedRegion *TyR = dyn_cast<TypedRegion>(R)) {
- if (TyR->isBoundable(C) &&
+ if (TyR->isBoundable() &&
Loc::IsLocType(TyR->getValueType(C)))
V = X->getLoc();
}
OpenPOWER on IntegriCloud