aboutsummaryrefslogtreecommitdiff
path: root/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
commit846eabd187be4bfe992e8bca131166b734d86e0d (patch)
tree665d8a86d76612f2b117ca9c6fd53e4f1f146105 /lib/Checker/Store.cpp
parent2ab03034925829614eb9ed186d0a4fb6f8e2b69a (diff)
Rename 'SValuator' to 'SValBuilder'. The new name
reflects what the class actually does. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120605 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Checker/Store.cpp')
-rw-r--r--lib/Checker/Store.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Checker/Store.cpp b/lib/Checker/Store.cpp
index 2e03009b1c..1259d19cf0 100644
--- a/lib/Checker/Store.cpp
+++ b/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();