summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/RegionStore.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2009-05-09 04:08:27 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2009-05-09 04:08:27 +0000
commit91e2ab496fdab4512652041b9cd0818ca872e342 (patch)
tree085d7afb3d68b0a85ecdce71c950d1cf8562e9ca /clang/lib/Analysis/RegionStore.cpp
parent34d04b3ca9657e96174d98976527965585cec535 (diff)
downloadbcm5719-llvm-91e2ab496fdab4512652041b9cd0818ca872e342.tar.gz
bcm5719-llvm-91e2ab496fdab4512652041b9cd0818ca872e342.zip
Rename:
SymbolRegionRValue => SymbolRegionValue SymExpr::RegionRValue => SymExpr::RegionValueKind llvm-svn: 71322
Diffstat (limited to 'clang/lib/Analysis/RegionStore.cpp')
-rw-r--r--clang/lib/Analysis/RegionStore.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/Analysis/RegionStore.cpp b/clang/lib/Analysis/RegionStore.cpp
index 6e9a1a684d1..a23a47ecc88 100644
--- a/clang/lib/Analysis/RegionStore.cpp
+++ b/clang/lib/Analysis/RegionStore.cpp
@@ -824,7 +824,7 @@ SVal RegionStoreManager::Retrieve(const GRState* St, Loc L, QualType T) {
if (SR == SelfRegion) {
// FIXME: Do we need to handle the case where the super region
// has a view? We want to canonicalize the bindings.
- return ValMgr.getRValueSymbolVal(R);
+ return ValMgr.getRegionValueSymbolVal(R);
}
// Otherwise, we need a new symbol. For now return Unknown.
@@ -846,7 +846,7 @@ SVal RegionStoreManager::Retrieve(const GRState* St, Loc L, QualType T) {
VD->hasGlobalStorage()) {
QualType VTy = VD->getType();
if (Loc::IsLocType(VTy) || VTy->isIntegerType())
- return ValMgr.getRValueSymbolVal(VR);
+ return ValMgr.getRegionValueSymbolVal(VR);
else
return UnknownVal();
}
@@ -862,7 +862,7 @@ SVal RegionStoreManager::Retrieve(const GRState* St, Loc L, QualType T) {
// All other integer values are symbolic.
if (Loc::IsLocType(RTy) || RTy->isIntegerType())
- return ValMgr.getRValueSymbolVal(R);
+ return ValMgr.getRegionValueSymbolVal(R);
else
return UnknownVal();
}
OpenPOWER on IntegriCloud