Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DPointerArithChecker.cpp320 if (!BOp->isAdditiveOp() && OpKind != BO_AddAssign && OpKind != BO_SubAssign) in checkPreStmt()
331 reportPointerArithMisuse(Lhs, C, !BOp->isAdditiveOp()); in checkPreStmt()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp202 } else if (BinaryOperator::isAdditiveOp(op) && RHS.isNegative()) { in MakeSymIntVal()
265 if (BinaryOperator::isAdditiveOp(SymInt->getOpcode())) in decomposeSymbol()
297 else if (BinaryOperator::isAdditiveOp(Op)) in doRearrangeUnchecked()
376 } else if (BinaryOperator::isAdditiveOp(Op)) { in tryRearrange()
637 if (BinaryOperator::isAdditiveOp(op)) { in evalBinOpNN()
639 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()
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DExpr.h3899 static bool isAdditiveOp(Opcode Opc) { return Opc == BO_Add || Opc==BO_Sub; } in isAdditiveOp() function
3900 bool isAdditiveOp() const { return isAdditiveOp(getOpcode()); } in isAdditiveOp() function
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaChecking.cpp9034 if (BinOp->isAdditiveOp()) { in checkFormatStringExpr()
11853 if (!BO || !BO->isAdditiveOp()) in ignoreLiteralAdditions()
H A DSemaOpenMP.cpp8341 if (BO->isAdditiveOp()) { in checkAndSetIncRHS()
11443 AtomicInnerBinOp->isAdditiveOp() || AtomicInnerBinOp->isShiftOp() || in checkBinaryOperation()
H A DSemaDecl.cpp19380 if (!BO->isAdditiveOp()) in ValidDuplicateEnum()
H A DSemaExpr.cpp9187 return BinaryOperator::isAdditiveOp(Opc) || in IsArithmeticOp()
/openbsd/gnu/llvm/clang/lib/AST/
H A DExprConstant.cpp12729 if (E->isAdditiveOp() && LHSVal.isLValue() && RHSVal.isInt()) { in VisitBinOp()