Lines Matching refs:SCS2
94 const StandardConversionSequence& SCS2);
99 const StandardConversionSequence& SCS2);
104 const StandardConversionSequence& SCS2);
3512 const StandardConversionSequence& SCS2) { in compareStandardConversionSubsets() argument
3518 if (SCS1.isIdentityConversion() && !SCS2.isIdentityConversion()) in compareStandardConversionSubsets()
3520 else if (!SCS1.isIdentityConversion() && SCS2.isIdentityConversion()) in compareStandardConversionSubsets()
3523 if (SCS1.Second != SCS2.Second) { in compareStandardConversionSubsets()
3526 else if (SCS2.Second == ICK_Identity) in compareStandardConversionSubsets()
3530 } else if (!hasSimilarType(Context, SCS1.getToType(1), SCS2.getToType(1))) in compareStandardConversionSubsets()
3533 if (SCS1.Third == SCS2.Third) { in compareStandardConversionSubsets()
3534 return Context.hasSameType(SCS1.getToType(2), SCS2.getToType(2))? Result in compareStandardConversionSubsets()
3543 if (SCS2.Third == ICK_Identity) in compareStandardConversionSubsets()
3555 const StandardConversionSequence &SCS2) { in isBetterReferenceBindingKind() argument
3570 SCS2.BindsImplicitObjectArgumentWithoutRefQualifier) in isBetterReferenceBindingKind()
3574 SCS2.IsLvalueReference) || in isBetterReferenceBindingKind()
3576 !SCS2.IsLvalueReference && SCS2.BindsToFunctionLvalue); in isBetterReferenceBindingKind()
3585 const StandardConversionSequence& SCS2) in CompareStandardConversionSequences() argument
3596 = compareStandardConversionSubsets(S.Context, SCS1, SCS2)) in CompareStandardConversionSequences()
3602 ImplicitConversionRank Rank2 = SCS2.getRank(); in CompareStandardConversionSequences()
3615 if (SCS1.isPointerConversionToBool() != SCS2.isPointerConversionToBool()) in CompareStandardConversionSequences()
3616 return SCS2.isPointerConversionToBool() in CompareStandardConversionSequences()
3629 = SCS2.isPointerConversionToVoidPointer(S.Context); in CompareStandardConversionSequences()
3639 = CompareDerivedToBaseConversions(S, Loc, SCS1, SCS2)) in CompareStandardConversionSequences()
3642 !S.Context.hasSameType(SCS1.getFromType(), SCS2.getFromType())) { in CompareStandardConversionSequences()
3647 QualType FromType2 = SCS2.getFromType(); in CompareStandardConversionSequences()
3653 if (SCS2.First == ICK_Array_To_Pointer) in CompareStandardConversionSequences()
3685 = CompareQualificationConversions(S, SCS1, SCS2)) in CompareStandardConversionSequences()
3688 if (SCS1.ReferenceBinding && SCS2.ReferenceBinding) { in CompareStandardConversionSequences()
3690 if (isBetterReferenceBindingKind(SCS1, SCS2)) in CompareStandardConversionSequences()
3692 else if (isBetterReferenceBindingKind(SCS2, SCS1)) in CompareStandardConversionSequences()
3702 QualType T2 = SCS2.getToType(2); in CompareStandardConversionSequences()
3712 SCS2.ObjCLifetimeConversionBinding) { in CompareStandardConversionSequences()
3744 SCS2.Second == ICK_Floating_Integral && in CompareStandardConversionSequences()
3758 const StandardConversionSequence& SCS2) { in CompareQualificationConversions() argument
3765 if (SCS1.First != SCS2.First || SCS1.Second != SCS2.Second || in CompareQualificationConversions()
3766 SCS1.Third != SCS2.Third || SCS1.Third != ICK_Qualification) in CompareQualificationConversions()
3772 QualType T2 = SCS2.getToType(2); in CompareQualificationConversions()
3798 SCS2.QualificationIncludesObjCLifetime) { in CompareQualificationConversions()
3855 if (SCS2.DeprecatedStringLiteralToCharPtr) in CompareQualificationConversions()
3871 const StandardConversionSequence& SCS2) { in CompareDerivedToBaseConversions() argument
3874 QualType FromType2 = SCS2.getFromType(); in CompareDerivedToBaseConversions()
3875 QualType ToType2 = SCS2.getToType(1); in CompareDerivedToBaseConversions()
3881 if (SCS2.First == ICK_Array_To_Pointer) in CompareDerivedToBaseConversions()
3897 SCS2.Second == ICK_Pointer_Conversion && in CompareDerivedToBaseConversions()
3926 SCS2.Second == ICK_Pointer_Conversion) { in CompareDerivedToBaseConversions()
3998 if (SCS1.Second == ICK_Pointer_Member && SCS2.Second == ICK_Pointer_Member && in CompareDerivedToBaseConversions()