summaryrefslogtreecommitdiffstats
path: root/clang/lib/Checker/FixedAddressChecker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Checker/FixedAddressChecker.cpp')
-rw-r--r--clang/lib/Checker/FixedAddressChecker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Checker/FixedAddressChecker.cpp b/clang/lib/Checker/FixedAddressChecker.cpp
index 6ed31a788b1..04c17d6d7ab 100644
--- a/clang/lib/Checker/FixedAddressChecker.cpp
+++ b/clang/lib/Checker/FixedAddressChecker.cpp
@@ -48,7 +48,7 @@ void FixedAddressChecker::PreVisitBinaryOperator(CheckerContext &C,
const GRState *state = C.getState();
- SVal RV = state->getExprVal(B->getRHS());
+ SVal RV = state->getSVal(B->getRHS());
if (!RV.isConstant() || RV.isZeroConstant())
return;
OpenPOWER on IntegriCloud