Lines Matching refs:BinOp
8372 typedef BinaryOperator BinOp; in DiagnoseBitwisePrecedence() typedef
8373 BinOp::Opcode LHSopc = static_cast<BinOp::Opcode>(-1), in DiagnoseBitwisePrecedence()
8374 RHSopc = static_cast<BinOp::Opcode>(-1); in DiagnoseBitwisePrecedence()
8375 if (BinOp *BO = dyn_cast<BinOp>(LHSExpr)) in DiagnoseBitwisePrecedence()
8377 if (BinOp *BO = dyn_cast<BinOp>(RHSExpr)) in DiagnoseBitwisePrecedence()
8386 if ((BinOp::isComparisonOp(LHSopc) || BinOp::isBitwiseOp(LHSopc)) && in DiagnoseBitwisePrecedence()
8387 (BinOp::isComparisonOp(RHSopc) || BinOp::isBitwiseOp(RHSopc))) in DiagnoseBitwisePrecedence()
8390 bool isLeftComp = BinOp::isComparisonOp(LHSopc); in DiagnoseBitwisePrecedence()
8391 bool isRightComp = BinOp::isComparisonOp(RHSopc); in DiagnoseBitwisePrecedence()
8397 std::string OpStr = isLeftComp ? BinOp::getOpcodeStr(LHSopc) in DiagnoseBitwisePrecedence()
8398 : BinOp::getOpcodeStr(RHSopc); in DiagnoseBitwisePrecedence()
8400 SourceRange(cast<BinOp>(LHSExpr)->getRHS()->getLocStart(), in DiagnoseBitwisePrecedence()
8403 cast<BinOp>(RHSExpr)->getLHS()->getLocStart()); in DiagnoseBitwisePrecedence()
8406 << DiagRange << BinOp::getOpcodeStr(Opc) << OpStr; in DiagnoseBitwisePrecedence()
8411 Self.PDiag(diag::note_precedence_bitwise_first) << BinOp::getOpcodeStr(Opc), in DiagnoseBitwisePrecedence()