Home
last modified time | relevance | path

Searched refs:isAdditiveOp (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DPointerArithChecker.cpp314 if (!BOp->isAdditiveOp() && OpKind != BO_AddAssign && OpKind != BO_SubAssign) in checkPreStmt()
325 reportPointerArithMisuse(Lhs, C, !BOp->isAdditiveOp()); in checkPreStmt()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp216 } else if (BinaryOperator::isAdditiveOp(op) && RHS.isNegative()) { in MakeSymIntVal()
279 if (BinaryOperator::isAdditiveOp(SymInt->getOpcode())) in decomposeSymbol()
311 else if (BinaryOperator::isAdditiveOp(Op)) in doRearrangeUnchecked()
390 } else if (BinaryOperator::isAdditiveOp(Op)) { in tryRearrange()
664 if (BinaryOperator::isAdditiveOp(op)) { in evalBinOpNN()
666 if (BinaryOperator::isAdditiveOp(lop)) { in evalBinOpNN()
H A DExprEngineC.cpp82 if (B->isAdditiveOp()) { in VisitBinaryOperator()
H A DBugReporterVisitors.cpp74 if (B->isAdditiveOp() && B->getType()->isPointerType()) { in peelOffPointerArithmetic()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h3896 static bool isAdditiveOp(Opcode Opc) { return Opc == BO_Add || Opc==BO_Sub; } in isAdditiveOp() function
3897 bool isAdditiveOp() const { return isAdditiveOp(getOpcode()); } in isAdditiveOp() function
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp10763 if (BinOp->isAdditiveOp()) { in checkFormatStringExpr()
13590 if (!BO || !BO->isAdditiveOp()) in ignoreLiteralAdditions()
H A DSemaOpenMP.cpp8492 if (BO->isAdditiveOp()) { in checkAndSetIncRHS()
11707 AtomicInnerBinOp->isAdditiveOp() || AtomicInnerBinOp->isShiftOp() || in checkBinaryOperation()
H A DSemaDeclCXX.cpp17260 return (BO->isShiftOp() || BO->isAdditiveOp() || BO->isMultiplicativeOp() || in UsefulToPrintExpr()
H A DSemaDecl.cpp19997 if (!BO->isAdditiveOp()) in ValidDuplicateEnum()
H A DSemaExpr.cpp9530 return BinaryOperator::isAdditiveOp(Opc) || in IsArithmeticOp()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp13048 if (E->isAdditiveOp() && LHSVal.isLValue() && RHSVal.isInt()) { in VisitBinOp()