Lines Matching refs:ImplicitConversionSequence
101 static ImplicitConversionSequence::CompareKind
106 static ImplicitConversionSequence::CompareKind
111 static ImplicitConversionSequence::CompareKind
542 void ImplicitConversionSequence::dump() const { in dump()
910 C.~ImplicitConversionSequence(); in destroyCandidates()
1321 static ImplicitConversionSequence
1329 ImplicitConversionSequence ICS; in TryUserDefinedConversion()
1424 static ImplicitConversionSequence
1432 ImplicitConversionSequence ICS; in TryImplicitConversion()
1479 ImplicitConversionSequence
1510 ImplicitConversionSequence ICS = ::TryImplicitConversion( in PerformImplicitConversion()
3618 ImplicitConversionSequence ICS; in DiagnoseMultipleUserDefinedConversion()
3666 static ImplicitConversionSequence::CompareKind
3672 return ImplicitConversionSequence::Indistinguishable; in compareConversionFunctions()
3675 return ImplicitConversionSequence::Indistinguishable; in compareConversionFunctions()
3687 return Block1 ? ImplicitConversionSequence::Worse in compareConversionFunctions()
3688 : ImplicitConversionSequence::Better; in compareConversionFunctions()
3718 return ImplicitConversionSequence::Better; in compareConversionFunctions()
3720 return ImplicitConversionSequence::Worse; in compareConversionFunctions()
3724 return ImplicitConversionSequence::Indistinguishable; in compareConversionFunctions()
3728 const ImplicitConversionSequence &ICS) { in hasDeprecatedStringLiteralToCharPtrConversion()
3737 static ImplicitConversionSequence::CompareKind
3739 const ImplicitConversionSequence& ICS1, in CompareImplicitConversionSequences()
3740 const ImplicitConversionSequence& ICS2) in CompareImplicitConversionSequences()
3779 ? ImplicitConversionSequence::Worse in CompareImplicitConversionSequences()
3780 : ImplicitConversionSequence::Better; in CompareImplicitConversionSequences()
3783 return ImplicitConversionSequence::Better; in CompareImplicitConversionSequences()
3785 return ImplicitConversionSequence::Worse; in CompareImplicitConversionSequences()
3790 return ImplicitConversionSequence::Indistinguishable; in CompareImplicitConversionSequences()
3792 ImplicitConversionSequence::CompareKind Result = in CompareImplicitConversionSequences()
3793 ImplicitConversionSequence::Indistinguishable; in CompareImplicitConversionSequences()
3809 return ImplicitConversionSequence::Better; in CompareImplicitConversionSequences()
3812 return ImplicitConversionSequence::Worse; in CompareImplicitConversionSequences()
3843 static ImplicitConversionSequence::CompareKind
3847 ImplicitConversionSequence::CompareKind Result in compareStandardConversionSubsets()
3848 = ImplicitConversionSequence::Indistinguishable; in compareStandardConversionSubsets()
3853 return ImplicitConversionSequence::Better; in compareStandardConversionSubsets()
3855 return ImplicitConversionSequence::Worse; in compareStandardConversionSubsets()
3859 Result = ImplicitConversionSequence::Better; in compareStandardConversionSubsets()
3861 Result = ImplicitConversionSequence::Worse; in compareStandardConversionSubsets()
3863 return ImplicitConversionSequence::Indistinguishable; in compareStandardConversionSubsets()
3865 return ImplicitConversionSequence::Indistinguishable; in compareStandardConversionSubsets()
3869 : ImplicitConversionSequence::Indistinguishable; in compareStandardConversionSubsets()
3873 return Result == ImplicitConversionSequence::Worse in compareStandardConversionSubsets()
3874 ? ImplicitConversionSequence::Indistinguishable in compareStandardConversionSubsets()
3875 : ImplicitConversionSequence::Better; in compareStandardConversionSubsets()
3878 return Result == ImplicitConversionSequence::Better in compareStandardConversionSubsets()
3879 ? ImplicitConversionSequence::Indistinguishable in compareStandardConversionSubsets()
3880 : ImplicitConversionSequence::Worse; in compareStandardConversionSubsets()
3882 return ImplicitConversionSequence::Indistinguishable; in compareStandardConversionSubsets()
3944 static ImplicitConversionSequence::CompareKind
3957 if (ImplicitConversionSequence::CompareKind CK in CompareStandardConversionSequences()
3966 return ImplicitConversionSequence::Better; in CompareStandardConversionSequences()
3968 return ImplicitConversionSequence::Worse; in CompareStandardConversionSequences()
3979 ? ImplicitConversionSequence::Better in CompareStandardConversionSequences()
3980 : ImplicitConversionSequence::Worse; in CompareStandardConversionSequences()
3993 ? ImplicitConversionSequence::Better in CompareStandardConversionSequences()
3994 : ImplicitConversionSequence::Worse; in CompareStandardConversionSequences()
4009 return SCS2ConvertsToVoid ? ImplicitConversionSequence::Better in CompareStandardConversionSequences()
4010 : ImplicitConversionSequence::Worse; in CompareStandardConversionSequences()
4014 if (ImplicitConversionSequence::CompareKind DerivedCK in CompareStandardConversionSequences()
4036 return ImplicitConversionSequence::Better; in CompareStandardConversionSequences()
4038 return ImplicitConversionSequence::Worse; in CompareStandardConversionSequences()
4052 return AssignLeft? ImplicitConversionSequence::Better in CompareStandardConversionSequences()
4053 : ImplicitConversionSequence::Worse; in CompareStandardConversionSequences()
4061 return ImplicitConversionSequence::Better; in CompareStandardConversionSequences()
4063 return ImplicitConversionSequence::Worse; in CompareStandardConversionSequences()
4068 if (ImplicitConversionSequence::CompareKind QualCK in CompareStandardConversionSequences()
4092 ? ImplicitConversionSequence::Worse in CompareStandardConversionSequences()
4093 : ImplicitConversionSequence::Better; in CompareStandardConversionSequences()
4103 return ImplicitConversionSequence::Better; in CompareStandardConversionSequences()
4105 return ImplicitConversionSequence::Worse; in CompareStandardConversionSequences()
4125 return ImplicitConversionSequence::Better; in CompareStandardConversionSequences()
4148 ? ImplicitConversionSequence::Better in CompareStandardConversionSequences()
4149 : ImplicitConversionSequence::Worse; in CompareStandardConversionSequences()
4162 ? ImplicitConversionSequence::Better in CompareStandardConversionSequences()
4163 : ImplicitConversionSequence::Worse; in CompareStandardConversionSequences()
4166 return ImplicitConversionSequence::Indistinguishable; in CompareStandardConversionSequences()
4172 static ImplicitConversionSequence::CompareKind
4184 return ImplicitConversionSequence::Indistinguishable; in CompareQualificationConversions()
4200 return ImplicitConversionSequence::Indistinguishable; in CompareQualificationConversions()
4202 ImplicitConversionSequence::CompareKind Result in CompareQualificationConversions()
4203 = ImplicitConversionSequence::Indistinguishable; in CompareQualificationConversions()
4211 ? ImplicitConversionSequence::Worse in CompareQualificationConversions()
4212 : ImplicitConversionSequence::Better; in CompareQualificationConversions()
4233 if (Result == ImplicitConversionSequence::Worse) in CompareQualificationConversions()
4236 return ImplicitConversionSequence::Indistinguishable; in CompareQualificationConversions()
4238 Result = ImplicitConversionSequence::Better; in CompareQualificationConversions()
4241 if (Result == ImplicitConversionSequence::Better) in CompareQualificationConversions()
4244 return ImplicitConversionSequence::Indistinguishable; in CompareQualificationConversions()
4246 Result = ImplicitConversionSequence::Worse; in CompareQualificationConversions()
4249 return ImplicitConversionSequence::Indistinguishable; in CompareQualificationConversions()
4260 case ImplicitConversionSequence::Better: in CompareQualificationConversions()
4262 Result = ImplicitConversionSequence::Indistinguishable; in CompareQualificationConversions()
4265 case ImplicitConversionSequence::Indistinguishable: in CompareQualificationConversions()
4268 case ImplicitConversionSequence::Worse: in CompareQualificationConversions()
4270 Result = ImplicitConversionSequence::Indistinguishable; in CompareQualificationConversions()
4282 static ImplicitConversionSequence::CompareKind
4327 return ImplicitConversionSequence::Better; in CompareDerivedToBaseConversions()
4329 return ImplicitConversionSequence::Worse; in CompareDerivedToBaseConversions()
4335 return ImplicitConversionSequence::Better; in CompareDerivedToBaseConversions()
4337 return ImplicitConversionSequence::Worse; in CompareDerivedToBaseConversions()
4368 return ImplicitConversionSequence::Worse; in CompareDerivedToBaseConversions()
4371 return ImplicitConversionSequence::Better; in CompareDerivedToBaseConversions()
4376 return ImplicitConversionSequence::Worse; in CompareDerivedToBaseConversions()
4378 return ImplicitConversionSequence::Better; in CompareDerivedToBaseConversions()
4384 return ImplicitConversionSequence::Worse; in CompareDerivedToBaseConversions()
4387 return ImplicitConversionSequence::Better; in CompareDerivedToBaseConversions()
4392 return ImplicitConversionSequence::Worse; in CompareDerivedToBaseConversions()
4394 return ImplicitConversionSequence::Better; in CompareDerivedToBaseConversions()
4409 return ImplicitConversionSequence::Better; in CompareDerivedToBaseConversions()
4411 return ImplicitConversionSequence::Worse; in CompareDerivedToBaseConversions()
4413 return ToAssignLeft? ImplicitConversionSequence::Worse in CompareDerivedToBaseConversions()
4414 : ImplicitConversionSequence::Better; in CompareDerivedToBaseConversions()
4420 return FromAssignLeft? ImplicitConversionSequence::Better in CompareDerivedToBaseConversions()
4421 : ImplicitConversionSequence::Worse; in CompareDerivedToBaseConversions()
4444 return ImplicitConversionSequence::Worse; in CompareDerivedToBaseConversions()
4446 return ImplicitConversionSequence::Better; in CompareDerivedToBaseConversions()
4451 return ImplicitConversionSequence::Better; in CompareDerivedToBaseConversions()
4453 return ImplicitConversionSequence::Worse; in CompareDerivedToBaseConversions()
4465 return ImplicitConversionSequence::Better; in CompareDerivedToBaseConversions()
4467 return ImplicitConversionSequence::Worse; in CompareDerivedToBaseConversions()
4477 return ImplicitConversionSequence::Better; in CompareDerivedToBaseConversions()
4479 return ImplicitConversionSequence::Worse; in CompareDerivedToBaseConversions()
4483 return ImplicitConversionSequence::Indistinguishable; in CompareDerivedToBaseConversions()
4608 FindConversionForRefInit(Sema &S, ImplicitConversionSequence &ICS, in FindConversionForRefInit()
4724 static ImplicitConversionSequence
4732 ImplicitConversionSequence ICS; in TryReferenceInit()
4988 static ImplicitConversionSequence
4997 static ImplicitConversionSequence
5006 ImplicitConversionSequence Result; in TryListConversion()
5075 ImplicitConversionSequence ICS = in TryListConversion()
5087 ImplicitConversionSequence::Worse) in TryListConversion()
5249 static ImplicitConversionSequence
5279 ImplicitConversionSequence ICS = in TryCopyInitialization()
5288 static ImplicitConversionSequence
5306 ImplicitConversionSequence ICS; in TryObjectArgumentInitialization()
5444 ImplicitConversionSequence ICS = TryObjectArgumentInitialization( in PerformObjectArgumentInitialization()
5510 static ImplicitConversionSequence
5517 return ImplicitConversionSequence::getNullptrToBool(From->getType(), in TryContextuallyConvertToBool()
5538 ImplicitConversionSequence ICS = TryContextuallyConvertToBool(*this, From); in PerformContextuallyConvertToBool()
5638 ImplicitConversionSequence ICS = in CheckConvertedConstantExpression()
5648 case ImplicitConversionSequence::StandardConversion: in CheckConvertedConstantExpression()
5651 case ImplicitConversionSequence::UserDefinedConversion: in CheckConvertedConstantExpression()
5657 case ImplicitConversionSequence::AmbiguousConversion: in CheckConvertedConstantExpression()
5658 case ImplicitConversionSequence::BadConversion: in CheckConvertedConstantExpression()
5665 case ImplicitConversionSequence::EllipsisConversion: in CheckConvertedConstantExpression()
5831 static ImplicitConversionSequence
5835 ImplicitConversionSequence ICS in TryContextuallyConvertToObjCPointer()
5847 case ImplicitConversionSequence::BadConversion: in TryContextuallyConvertToObjCPointer()
5848 case ImplicitConversionSequence::AmbiguousConversion: in TryContextuallyConvertToObjCPointer()
5849 case ImplicitConversionSequence::EllipsisConversion: in TryContextuallyConvertToObjCPointer()
5852 case ImplicitConversionSequence::UserDefinedConversion: in TryContextuallyConvertToObjCPointer()
5856 case ImplicitConversionSequence::StandardConversion: in TryContextuallyConvertToObjCPointer()
5872 ImplicitConversionSequence ICS = in PerformContextuallyConvertToObjCPointer()
6530 ImplicitConversionSequence ConversionState in SelectBestMethod()
7397 ImplicitConversionSequence ICS = in AddConversionCandidate()
7404 case ImplicitConversionSequence::StandardConversion: in AddConversionCandidate()
7431 case ImplicitConversionSequence::BadConversion: in AddConversionCandidate()
7540 ImplicitConversionSequence ObjectInit = TryObjectArgumentInitialization( in AddSurrogateCandidate()
9628 auto IsIllFormedConversion = [&](const ImplicitConversionSequence &ICS) { in isBetterOverloadCandidate()
9667 case ImplicitConversionSequence::Better: in isBetterOverloadCandidate()
9672 case ImplicitConversionSequence::Worse: in isBetterOverloadCandidate()
9696 case ImplicitConversionSequence::Indistinguishable: in isBetterOverloadCandidate()
9721 ImplicitConversionSequence::CompareKind Result = in isBetterOverloadCandidate()
9723 if (Result == ImplicitConversionSequence::Indistinguishable) in isBetterOverloadCandidate()
9728 if (Result != ImplicitConversionSequence::Indistinguishable) in isBetterOverloadCandidate()
9729 return Result == ImplicitConversionSequence::Better; in isBetterOverloadCandidate()
10351 void ImplicitConversionSequence::DiagnoseAmbiguousConversion( in DiagnoseAmbiguousConversion()
10375 const ImplicitConversionSequence &Conv = Cand->Conversions[I]; in DiagnoseBadConversion()
11295 for (const ImplicitConversionSequence &ICS : Cand->Conversions) { in NoteAmbiguousUserConversions()
11454 case ImplicitConversionSequence::Better: in operator ()()
11458 case ImplicitConversionSequence::Worse: in operator ()()
11462 case ImplicitConversionSequence::Indistinguishable: in operator ()()
13624 ImplicitConversionSequence::Better) { in CreateOverloadedBinOp()