Lines Matching refs:LTy
5129 QualType LTy = LHS.get()->getType(); in CXXCheckConditionalOperands() local
5131 bool LVoid = LTy->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()
5190 LTy = LHS.get()->getType(); in CXXCheckConditionalOperands()
5204 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands()
5205 Context.hasSameUnqualifiedType(LTy, RTy) && in CXXCheckConditionalOperands()
5210 Qualifiers LCVR = Qualifiers::fromCVRMask(LTy.getCVRQualifiers()); in CXXCheckConditionalOperands()
5214 LTy = LHS.get()->getType(); in CXXCheckConditionalOperands()
5217 RHS = ImpCastExprToType(RHS.get(), LTy, CK_NoOp, RVK); in CXXCheckConditionalOperands()
5229 bool Same = Context.hasSameType(LTy, RTy); in CXXCheckConditionalOperands()
5237 return LTy; in CXXCheckConditionalOperands()
5243 if (!Same && (LTy->isRecordType() || RTy->isRecordType())) { in CXXCheckConditionalOperands()
5258 LTy = LHS.get()->getType(); in CXXCheckConditionalOperands()
5267 if (Context.getCanonicalType(LTy) == Context.getCanonicalType(RTy)) { in CXXCheckConditionalOperands()
5268 if (LTy->isRecordType()) { in CXXCheckConditionalOperands()
5270 if (RequireNonAbstractType(QuestionLoc, LTy, in CXXCheckConditionalOperands()
5273 InitializedEntity Entity = InitializedEntity::InitializeTemporary(LTy); in CXXCheckConditionalOperands()
5291 return LTy; 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()