Initial support for pointer arithmetic. Only support concrete indexes and
offsets for now.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65814 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/GRSimpleVals.cpp b/lib/Analysis/GRSimpleVals.cpp
index d50876e..90d9e57 100644
--- a/lib/Analysis/GRSimpleVals.cpp
+++ b/lib/Analysis/GRSimpleVals.cpp
@@ -265,7 +265,8 @@
SVal GRSimpleVals::EvalBinOp(GRExprEngine& Eng, BinaryOperator::Opcode Op,
Loc L, NonLoc R) {
- return UnknownVal();
+ // Delegate pointer arithmetic to store manager.
+ return Eng.getStoreManager().EvalBinOp(Op, L, R);
}
// Equality operators for Locs.