diff options
Diffstat (limited to 'lib/Checker/SVals.cpp')
-rw-r--r-- | lib/Checker/SVals.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Checker/SVals.cpp b/lib/Checker/SVals.cpp index 937b948fc9..b0eeca81e0 100644 --- a/lib/Checker/SVals.cpp +++ b/lib/Checker/SVals.cpp @@ -225,7 +225,7 @@ SVal nonloc::ConcreteInt::evalBinOp(ValueManager &ValMgr, BinaryOperator::Opcode Op, const nonloc::ConcreteInt& R) const { const llvm::APSInt* X = - ValMgr.getBasicValueFactory().EvaluateAPSInt(Op, getValue(), R.getValue()); + ValMgr.getBasicValueFactory().evalAPSInt(Op, getValue(), R.getValue()); if (X) return nonloc::ConcreteInt(*X); @@ -246,14 +246,14 @@ nonloc::ConcreteInt nonloc::ConcreteInt::evalMinus(ValueManager &ValMgr) const { // Transfer function dispatch for Locs. //===----------------------------------------------------------------------===// -SVal loc::ConcreteInt::EvalBinOp(BasicValueFactory& BasicVals, +SVal loc::ConcreteInt::evalBinOp(BasicValueFactory& BasicVals, BinaryOperator::Opcode Op, const loc::ConcreteInt& R) const { assert (Op == BO_Add || Op == BO_Sub || (Op >= BO_LT && Op <= BO_NE)); - const llvm::APSInt* X = BasicVals.EvaluateAPSInt(Op, getValue(), R.getValue()); + const llvm::APSInt* X = BasicVals.evalAPSInt(Op, getValue(), R.getValue()); if (X) return loc::ConcreteInt(*X); |