summaryrefslogtreecommitdiffstats
path: root/clang/Analysis/GRSimpleVals.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/Analysis/GRSimpleVals.h')
-rw-r--r--clang/Analysis/GRSimpleVals.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/Analysis/GRSimpleVals.h b/clang/Analysis/GRSimpleVals.h
index 0f517fe5eb1..b00dd3ca39d 100644
--- a/clang/Analysis/GRSimpleVals.h
+++ b/clang/Analysis/GRSimpleVals.h
@@ -44,6 +44,11 @@ public:
BinaryOperator::Opcode Op,
NonLValue LHS, NonLValue RHS);
+ // Pointer arithmetic.
+
+ virtual LValue EvalBinaryOp(ValueManager& ValMgr, BinaryOperator::Opcode Op,
+ LValue LHS, NonLValue RHS);
+
// Equality operators for LValues.
virtual NonLValue EvalEQ(ValueManager& ValMgr, LValue LHS, LValue RHS);
virtual NonLValue EvalNE(ValueManager& ValMgr, LValue LHS, LValue RHS);
OpenPOWER on IntegriCloud