aboutsummaryrefslogtreecommitdiff
path: root/lib/Checker/PointerArithChecker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Checker/PointerArithChecker.cpp')
-rw-r--r--lib/Checker/PointerArithChecker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Checker/PointerArithChecker.cpp b/lib/Checker/PointerArithChecker.cpp
index b3d957af08..3d62d0c7b9 100644
--- a/lib/Checker/PointerArithChecker.cpp
+++ b/lib/Checker/PointerArithChecker.cpp
@@ -40,8 +40,8 @@ void PointerArithChecker::PreVisitBinaryOperator(CheckerContext &C,
return;
const GRState *state = C.getState();
- SVal LV = state->getExprVal(B->getLHS());
- SVal RV = state->getExprVal(B->getRHS());
+ SVal LV = state->getSVal(B->getLHS());
+ SVal RV = state->getSVal(B->getRHS());
const MemRegion *LR = LV.getAsRegion();