Lines Matching refs:RTy
5130 QualType RTy = RHS.get()->getType(); in CXXCheckConditionalOperands() local
5132 bool RVoid = RTy->isVoidType(); in CXXCheckConditionalOperands()
5156 << (LVoid ? RTy : LTy) << (LVoid ? 0 : 1) in CXXCheckConditionalOperands()
5167 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands()
5168 (LTy->isRecordType() || RTy->isRecordType())) { in CXXCheckConditionalOperands()
5180 << LTy << RTy << LHS.get()->getSourceRange() << RHS.get()->getSourceRange(); in CXXCheckConditionalOperands()
5194 RTy = RHS.get()->getType(); in CXXCheckConditionalOperands()
5204 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands()
5205 Context.hasSameUnqualifiedType(LTy, RTy) && in CXXCheckConditionalOperands()
5211 Qualifiers RCVR = Qualifiers::fromCVRMask(RTy.getCVRQualifiers()); in CXXCheckConditionalOperands()
5213 LHS = ImpCastExprToType(LHS.get(), RTy, CK_NoOp, LVK); in CXXCheckConditionalOperands()
5218 RTy = RHS.get()->getType(); in CXXCheckConditionalOperands()
5229 bool Same = Context.hasSameType(LTy, RTy); in CXXCheckConditionalOperands()
5243 if (!Same && (LTy->isRecordType() || RTy->isRecordType())) { in CXXCheckConditionalOperands()
5259 RTy = RHS.get()->getType(); in CXXCheckConditionalOperands()
5267 if (Context.getCanonicalType(LTy) == Context.getCanonicalType(RTy)) { in CXXCheckConditionalOperands()
5295 if (LTy->isVectorType() || RTy->isVectorType()) in CXXCheckConditionalOperands()
5303 if (LTy->isArithmeticType() && RTy->isArithmeticType()) { in CXXCheckConditionalOperands()
5309 diag::err_typecheck_cond_incompatible_operands) << LTy << RTy in CXXCheckConditionalOperands()
5340 << LTy << RTy << Composite in CXXCheckConditionalOperands()