Searched refs:isAdditiveOp (Results 1 – 9 of 9) sorted by relevance
320 if (!BOp->isAdditiveOp() && OpKind != BO_AddAssign && OpKind != BO_SubAssign) in checkPreStmt()331 reportPointerArithMisuse(Lhs, C, !BOp->isAdditiveOp()); in checkPreStmt()
483 if (BinaryOperator::isAdditiveOp(op)) { in evalBinOpNN()485 if (BinaryOperator::isAdditiveOp(lop)) { in evalBinOpNN()
64 if (B->isAdditiveOp()) { in VisitBinaryOperator()
2975 static bool isAdditiveOp(Opcode Opc) { return Opc == BO_Add || Opc==BO_Sub; } in isAdditiveOp() function2976 bool isAdditiveOp() const { return isAdditiveOp(getOpcode()); } in isAdditiveOp() function
4273 if (BO->isAdditiveOp()) { in CheckIncRHS()6121 AtomicInnerBinOp->isAdditiveOp() || AtomicInnerBinOp->isShiftOp() || in checkBinaryOperation()
6290 if (!BO || !BO->isAdditiveOp()) in ignoreLiteralAdditions()
14583 if (!BO->isAdditiveOp()) in ValidDuplicateEnum()
6905 return BinaryOperator::isAdditiveOp(Opc) || in IsArithmeticOp()
7358 if (E->isAdditiveOp() && LHSVal.isLValue() && RHSVal.isInt()) { in VisitBinOp()