aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/BasicStore.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2009-05-09 03:57:34 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2009-05-09 03:57:34 +0000
commita82d8aa5b3b3d24998b4d98b9f45a43cc84cac6f (patch)
treec3993ee35f8e98405d5e17c818d435b48defa1ff /lib/Analysis/BasicStore.cpp
parent8c6096e374203b1c79d85ca03ddebbc1d486c9fe (diff)
As discussed with Ted, rename TypedRegion::getObjectType() to
TypedRegion::getValueType(). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71321 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/BasicStore.cpp')
-rw-r--r--lib/Analysis/BasicStore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/BasicStore.cpp b/lib/Analysis/BasicStore.cpp
index e4e0cfa983..b9eeb9f8bc 100644
--- a/lib/Analysis/BasicStore.cpp
+++ b/lib/Analysis/BasicStore.cpp
@@ -357,7 +357,7 @@ Store BasicStoreManager::BindInternal(Store store, Loc loc, SVal V) {
// elsewhere. Food for thought.
if (const TypedRegion *TyR = dyn_cast<TypedRegion>(R)) {
if (TyR->isBoundable(C) &&
- Loc::IsLocType(TyR->getObjectType(C)))
+ Loc::IsLocType(TyR->getValueType(C)))
V = X->getLoc();
}
}