Home | History | Annotate | Download | only in Sema

Lines Matching defs:BinOp

4327   // sequence of BinOp comma operators.
7779 default: llvm_unreachable("Unknown binop!");
8030 typedef BinaryOperator BinOp;
8031 BinOp::Opcode LHSopc = static_cast<BinOp::Opcode>(-1),
8032 RHSopc = static_cast<BinOp::Opcode>(-1);
8033 if (BinOp *BO = dyn_cast<BinOp>(LHSExpr))
8035 if (BinOp *BO = dyn_cast<BinOp>(RHSExpr))
8044 if ((BinOp::isComparisonOp(LHSopc) || BinOp::isBitwiseOp(LHSopc)) &&
8045 (BinOp::isComparisonOp(RHSopc) || BinOp::isBitwiseOp(RHSopc)))
8048 bool isLeftComp = BinOp::isComparisonOp(LHSopc);
8049 bool isRightComp = BinOp::isComparisonOp(RHSopc);
8055 std::string OpStr = isLeftComp ? BinOp::getOpcodeStr(LHSopc)
8056 : BinOp::getOpcodeStr(RHSopc);
8058 SourceRange(cast<BinOp>(LHSExpr)->getRHS()->getLocStart(),
8061 cast<BinOp>(RHSExpr)->getLHS()->getLocStart());
8064 << DiagRange << BinOp::getOpcodeStr(Opc) << OpStr;
8069 Self.PDiag(diag::note_precedence_bitwise_first) << BinOp::getOpcodeStr(Opc),