From 8038f7b30fa2dd40cba273196cd6e57ee4c6d921 Mon Sep 17 00:00:00 2001 From: Zhongxing Xu Date: Sat, 9 May 2009 00:50:33 +0000 Subject: rename: MemRegion: RValueType => ObjectType LValueType => LocationType No functionality change. llvm-svn: 71304 --- clang/lib/Analysis/BasicStore.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'clang/lib/Analysis/BasicStore.cpp') diff --git a/clang/lib/Analysis/BasicStore.cpp b/clang/lib/Analysis/BasicStore.cpp index 598191f5781..e4e0cfa983b 100644 --- a/clang/lib/Analysis/BasicStore.cpp +++ b/clang/lib/Analysis/BasicStore.cpp @@ -290,7 +290,7 @@ SVal BasicStoreManager::Retrieve(const GRState* state, Loc loc, QualType T) { // Just support void**, void***, intptr_t*, intptr_t**, etc., for now. // This is needed to handle OSCompareAndSwapPtr() and friends. ASTContext &Ctx = StateMgr.getContext(); - QualType T = ER->getLValueType(Ctx); + QualType T = ER->getLocationType(Ctx); if (!isHigherOrderRawPtr(T, Ctx)) return UnknownVal(); @@ -334,7 +334,7 @@ Store BasicStoreManager::BindInternal(Store store, Loc loc, SVal V) { if (isa(V) || isa(V)) if (const ElementRegion *ER = dyn_cast(R)) { // FIXME: Should check for index 0. - QualType T = ER->getLValueType(C); + QualType T = ER->getLocationType(C); if (isHigherOrderRawPtr(T, C)) R = ER->getSuperRegion(); @@ -357,7 +357,7 @@ Store BasicStoreManager::BindInternal(Store store, Loc loc, SVal V) { // elsewhere. Food for thought. if (const TypedRegion *TyR = dyn_cast(R)) { if (TyR->isBoundable(C) && - Loc::IsLocType(TyR->getRValueType(C))) + Loc::IsLocType(TyR->getObjectType(C))) V = X->getLoc(); } } -- cgit v1.2.3