• Home
  • Raw
  • Download

Lines Matching refs:RTy

6076   QualType RTy = RHS.get()->getType();  in CXXCheckConditionalOperands()  local
6078 bool RVoid = RTy->isVoidType(); in CXXCheckConditionalOperands()
6113 << (LVoid ? RTy : LTy) << (LVoid ? 0 : 1) in CXXCheckConditionalOperands()
6126 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands()
6127 (LTy->isRecordType() || RTy->isRecordType())) { in CXXCheckConditionalOperands()
6139 << LTy << RTy << LHS.get()->getSourceRange() << RHS.get()->getSourceRange(); in CXXCheckConditionalOperands()
6153 RTy = RHS.get()->getType(); in CXXCheckConditionalOperands()
6170 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands()
6180 if (CompareReferenceRelationship(QuestionLoc, LTy, RTy, &RefConv) == in CXXCheckConditionalOperands()
6187 RTy = RHS.get()->getType(); in CXXCheckConditionalOperands()
6188 } else if (CompareReferenceRelationship(QuestionLoc, RTy, LTy, &RefConv) == in CXXCheckConditionalOperands()
6193 LHS = ImpCastExprToType(LHS.get(), RTy, CK_NoOp, LVK); in CXXCheckConditionalOperands()
6205 bool Same = Context.hasSameType(LTy, RTy); in CXXCheckConditionalOperands()
6224 assert(Context.hasSameType(LTy, RTy) && "bad composite pointer type"); in CXXCheckConditionalOperands()
6233 if (!Same && (LTy->isRecordType() || RTy->isRecordType())) { in CXXCheckConditionalOperands()
6249 RTy = RHS.get()->getType(); in CXXCheckConditionalOperands()
6257 if (Context.getCanonicalType(LTy) == Context.getCanonicalType(RTy)) { in CXXCheckConditionalOperands()
6290 if (LTy->isVectorType() || RTy->isVectorType()) in CXXCheckConditionalOperands()
6298 if (LTy->isArithmeticType() && RTy->isArithmeticType()) { in CXXCheckConditionalOperands()
6305 diag::err_typecheck_cond_incompatible_operands) << LTy << RTy in CXXCheckConditionalOperands()