summaryrefslogtreecommitdiffstats
path: root/clang/lib/Checker/Store.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-12-01 21:28:31 +0000
committerTed Kremenek <kremenek@apple.com>2010-12-01 21:28:31 +0000
commit9d0bb1e366e0bbcf70417bdbc7b36e20202a676c (patch)
tree65147afce8b083f4240780575a1cb97895791056 /clang/lib/Checker/Store.cpp
parent30eb6c7e7100bb5b9a41d792cda0a30c65ca9655 (diff)
downloadbcm5719-llvm-9d0bb1e366e0bbcf70417bdbc7b36e20202a676c.tar.gz
bcm5719-llvm-9d0bb1e366e0bbcf70417bdbc7b36e20202a676c.zip
Rename 'SValuator' to 'SValBuilder'. The new name
reflects what the class actually does. llvm-svn: 120605
Diffstat (limited to 'clang/lib/Checker/Store.cpp')
-rw-r--r--clang/lib/Checker/Store.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/Checker/Store.cpp b/clang/lib/Checker/Store.cpp
index 2e03009b1ce..1259d19cf08 100644
--- a/clang/lib/Checker/Store.cpp
+++ b/clang/lib/Checker/Store.cpp
@@ -225,9 +225,9 @@ SVal StoreManager::CastRetrievedVal(SVal V, const TypedRegion *R,
}
if (const Loc *L = dyn_cast<Loc>(&V))
- return ValMgr.getSValuator().EvalCastL(*L, castTy);
+ return ValMgr.getSValBuilder().EvalCastL(*L, castTy);
else if (const NonLoc *NL = dyn_cast<NonLoc>(&V))
- return ValMgr.getSValuator().EvalCastNL(*NL, castTy);
+ return ValMgr.getSValBuilder().EvalCastNL(*NL, castTy);
return V;
}
@@ -309,7 +309,7 @@ SVal StoreManager::getLValueElement(QualType elementType, NonLoc Offset,
// Only allow non-integer offsets if the base region has no offset itself.
// FIXME: This is a somewhat arbitrary restriction. We should be using
- // SValuator here to add the two offsets without checking their types.
+ // SValBuilder here to add the two offsets without checking their types.
if (!isa<nonloc::ConcreteInt>(Offset)) {
if (isa<ElementRegion>(BaseRegion->StripCasts()))
return UnknownVal();
OpenPOWER on IntegriCloud