Lines Matching defs:T2

3238                                            QualType cv2T2, QualType T2,
3275 QualType T2 = S.Context.getUnqualifiedArrayType(cv2T2, T2Quals);
3278 if (ResolveOverloadedFunctionForReferenceBinding(S, Initializer, cv2T2, T2,
3290 T1Quals, cv2T2, T2, T2Quals, Sequence);
3421 QualType T2 = cv2T2.getUnqualifiedType();
3427 T1, T2, DerivedToBase,
3489 if ((T2RecordType = T2->getAs<RecordType>()) &&
3490 !S.RequireCompleteType(Kind.getLocation(), T2, 0)) {
3548 T2 = Function->getResultType();
3550 T2 = cv1T1;
3555 T2.getNonLValueExprType(S.Context),
3561 if (T2->isLValueReferenceType())
3563 else if (const RValueReferenceType *RRef = T2->getAs<RValueReferenceType>())
3571 T2.getNonLValueExprType(S.Context),
3582 T2 = ICS.Standard.getToType(2);
3583 Sequence.AddConversionSequenceStep(ICS, T2);
3587 T2.getNonReferenceType().getQualifiers()),
3592 T2.getNonReferenceType().getQualifiers()));
3594 if (cv1T1.getQualifiers() != T2.getNonReferenceType().getQualifiers())
3597 Sequence.AddReferenceBindingStep(cv1T1, !T2->isReferenceType());
3617 QualType T2 = S.Context.getUnqualifiedArrayType(cv2T2, T2Quals);
3620 // to resolve the overloaded function. If all goes well, T2 is the
3622 if (ResolveOverloadedFunctionForReferenceBinding(S, Initializer, cv2T2, T2,
3628 T1Quals, cv2T2, T2, T2Quals, Sequence);
3689 QualType cv2T2, QualType T2,
3707 // "cv2 T2" as follows:
3722 // reference-compatible with "cv2 T2," or
3745 // - has a class type (i.e., T2 is a class type), where T1 is not
3746 // reference-related to T2, and can be implicitly converted to an
3753 if (RefRelationship == Sema::Ref_Incompatible && T2->isRecordType() &&
3770 if (S.Context.getCanonicalType(T2) == S.Context.OverloadTy)
3788 // "cv1 T1" is reference-compatible with "cv2 T2"
3795 (InitCategory.isPRValue() && T2->isRecordType()) ||
3796 (InitCategory.isPRValue() && T2->isArrayType()))) {
3798 if (InitCategory.isPRValue() && T2->isRecordType()) {
3830 // - has a class type (i.e., T2 is a class type), where T1 is not
3831 // reference-related to T2, and can be implicitly converted to an
3836 if (T2->isRecordType()) {
3886 else if (S.Context.getCanonicalType(T2) == S.Context.OverloadTy)
3895 // [...] If T1 is reference-related to T2, cv1 must be the
3906 // [...] If T1 is reference-related to T2 and the reference is an rvalue