summaryrefslogtreecommitdiffstats
path: root/clang/lib/Checker/SVals.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Checker/SVals.cpp')
-rw-r--r--clang/lib/Checker/SVals.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Checker/SVals.cpp b/clang/lib/Checker/SVals.cpp
index 3248b0fea25..97ba74e9487 100644
--- a/clang/lib/Checker/SVals.cpp
+++ b/clang/lib/Checker/SVals.cpp
@@ -250,8 +250,8 @@ SVal loc::ConcreteInt::EvalBinOp(BasicValueFactory& BasicVals,
BinaryOperator::Opcode Op,
const loc::ConcreteInt& R) const {
- assert (Op == BinaryOperator::Add || Op == BinaryOperator::Sub ||
- (Op >= BinaryOperator::LT && Op <= BinaryOperator::NE));
+ assert (Op == BO_Add || Op == BO_Sub ||
+ (Op >= BO_LT && Op <= BO_NE));
const llvm::APSInt* X = BasicVals.EvaluateAPSInt(Op, getValue(), R.getValue());
OpenPOWER on IntegriCloud