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.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/clang/Analysis/GRSimpleVals.h b/clang/Analysis/GRSimpleVals.h
index 373be305eaa..1ed69688b8d 100644
--- a/clang/Analysis/GRSimpleVals.h
+++ b/clang/Analysis/GRSimpleVals.h
@@ -36,6 +36,16 @@ public:
NonLValue X);
virtual NonLValue EvalComplement(ValueManager& ValMgr, NonLValue X);
+
+ // Binary Operators.
+
+ virtual NonLValue EvalBinaryOp(ValueManager& ValMgr,
+ BinaryOperator::Opcode Op,
+ NonLValue 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