Lines Matching refs:CandidateSet

3054                                        OverloadCandidateSet &CandidateSet,  in IsInitializerListConstructorConversion()  argument
3072 CandidateSet, SuppressUserConversions); in IsInitializerListConstructorConversion()
3075 CandidateSet, SuppressUserConversions); in IsInitializerListConstructorConversion()
3079 bool HadMultipleCandidates = (CandidateSet.size() > 1); in IsInitializerListConstructorConversion()
3083 CandidateSet.BestViableFunction(S, From->getLocStart(), in IsInitializerListConstructorConversion()
3127 OverloadCandidateSet &CandidateSet, in IsUserDefinedConversion() argument
3162 S, From, ToType, ToRecordDecl, User, CandidateSet, AllowExplicit); in IsUserDefinedConversion()
3166 CandidateSet.clear(); in IsUserDefinedConversion()
3201 CandidateSet, SuppressUserConversions); in IsUserDefinedConversion()
3207 CandidateSet, SuppressUserConversions); in IsUserDefinedConversion()
3241 CandidateSet, in IsUserDefinedConversion()
3245 From, ToType, CandidateSet, in IsUserDefinedConversion()
3252 bool HadMultipleCandidates = (CandidateSet.size() > 1); in IsUserDefinedConversion()
3255 switch (auto Result = CandidateSet.BestViableFunction(S, From->getLocStart(), in IsUserDefinedConversion()
3329 OverloadCandidateSet CandidateSet(From->getExprLoc(), in DiagnoseMultipleUserDefinedConversion() local
3333 CandidateSet, false, false); in DiagnoseMultipleUserDefinedConversion()
3337 else if (OvResult == OR_No_Viable_Function && !CandidateSet.empty()) { in DiagnoseMultipleUserDefinedConversion()
3345 CandidateSet.NoteCandidates(*this, OCD_AllCandidates, From); in DiagnoseMultipleUserDefinedConversion()
4168 OverloadCandidateSet CandidateSet(DeclLoc, OverloadCandidateSet::CSK_Normal); in FindConversionForRefInit() local
4227 Init, DeclType, CandidateSet, in FindConversionForRefInit()
4231 DeclType, CandidateSet, in FindConversionForRefInit()
4235 bool HadMultipleCandidates = (CandidateSet.size() > 1); in FindConversionForRefInit()
4238 switch (CandidateSet.BestViableFunction(S, DeclLoc, Best, true)) { in FindConversionForRefInit()
4267 for (OverloadCandidateSet::iterator Cand = CandidateSet.begin(); in FindConversionForRefInit()
4268 Cand != CandidateSet.end(); ++Cand) in FindConversionForRefInit()
5432 OverloadCandidateSet &CandidateSet) { in collectViableConversionCandidates() argument
5449 ConvTemplate, FoundDecl, ActingContext, From, ToType, CandidateSet, in collectViableConversionCandidates()
5453 ToType, CandidateSet, in collectViableConversionCandidates()
5602 OverloadCandidateSet CandidateSet(Loc, OverloadCandidateSet::CSK_Normal); in PerformContextualImplicitConversion() local
5604 CandidateSet); in PerformContextualImplicitConversion()
5608 switch (CandidateSet.BestViableFunction(*this, Loc, Best)) { in PerformContextualImplicitConversion()
5710 OverloadCandidateSet &CandidateSet, in AddOverloadCandidate() argument
5731 Args, CandidateSet, SuppressUserConversions, in AddOverloadCandidate()
5739 if (!CandidateSet.isNewCandidate(Function)) in AddOverloadCandidate()
5749 if (CandidateSet.getKind() == OverloadCandidateSet::CSK_Operator && in AddOverloadCandidate()
5765 OverloadCandidate &Candidate = CandidateSet.addCandidate(Args.size()); in AddOverloadCandidate()
6043 OverloadCandidateSet& CandidateSet, in AddFunctionCandidates() argument
6054 Args.slice(1), CandidateSet, in AddFunctionCandidates()
6057 AddOverloadCandidate(FD, F.getPair(), Args, CandidateSet, in AddFunctionCandidates()
6068 CandidateSet, SuppressUserConversions, in AddFunctionCandidates()
6073 CandidateSet, SuppressUserConversions, in AddFunctionCandidates()
6085 OverloadCandidateSet& CandidateSet, in AddMethodCandidate() argument
6099 Args, CandidateSet, in AddMethodCandidate()
6105 CandidateSet, SuppressUserConversions); in AddMethodCandidate()
6121 OverloadCandidateSet &CandidateSet, in AddMethodCandidate() argument
6130 if (!CandidateSet.isNewCandidate(Method)) in AddMethodCandidate()
6144 OverloadCandidate &Candidate = CandidateSet.addCandidate(Args.size() + 1); in AddMethodCandidate()
6185 *this, CandidateSet.getLocation(), ObjectType, ObjectClassification, in AddMethodCandidate()
6250 OverloadCandidateSet& CandidateSet, in AddMethodTemplateCandidate() argument
6253 if (!CandidateSet.isNewCandidate(MethodTmpl)) in AddMethodTemplateCandidate()
6265 TemplateDeductionInfo Info(CandidateSet.getLocation()); in AddMethodTemplateCandidate()
6270 OverloadCandidate &Candidate = CandidateSet.addCandidate(); in AddMethodTemplateCandidate()
6290 CandidateSet, SuppressUserConversions, PartialOverloading); in AddMethodTemplateCandidate()
6301 OverloadCandidateSet& CandidateSet, in AddTemplateOverloadCandidate() argument
6304 if (!CandidateSet.isNewCandidate(FunctionTemplate)) in AddTemplateOverloadCandidate()
6316 TemplateDeductionInfo Info(CandidateSet.getLocation()); in AddTemplateOverloadCandidate()
6321 OverloadCandidate &Candidate = CandidateSet.addCandidate(); in AddTemplateOverloadCandidate()
6337 AddOverloadCandidate(Specialization, FoundDecl, Args, CandidateSet, in AddTemplateOverloadCandidate()
6391 OverloadCandidateSet& CandidateSet, in AddConversionCandidate() argument
6396 if (!CandidateSet.isNewCandidate(Conversion)) in AddConversionCandidate()
6419 OverloadCandidate &Candidate = CandidateSet.addCandidate(1); in AddConversionCandidate()
6444 *this, CandidateSet.getLocation(), From->getType(), in AddConversionCandidate()
6460 IsDerivedFrom(CandidateSet.getLocation(), FromCanon, ToCanon)) { in AddConversionCandidate()
6558 OverloadCandidateSet &CandidateSet, in AddTemplateConversionCandidate() argument
6563 if (!CandidateSet.isNewCandidate(FunctionTemplate)) in AddTemplateConversionCandidate()
6566 TemplateDeductionInfo Info(CandidateSet.getLocation()); in AddTemplateConversionCandidate()
6571 OverloadCandidate &Candidate = CandidateSet.addCandidate(); in AddTemplateConversionCandidate()
6588 CandidateSet, AllowObjCConversionOnExplicit); in AddTemplateConversionCandidate()
6602 OverloadCandidateSet& CandidateSet) { in AddSurrogateCandidate() argument
6603 if (!CandidateSet.isNewCandidate(Conversion)) in AddSurrogateCandidate()
6609 OverloadCandidate &Candidate = CandidateSet.addCandidate(Args.size() + 1); in AddSurrogateCandidate()
6621 *this, CandidateSet.getLocation(), Object->getType(), in AddSurrogateCandidate()
6711 OverloadCandidateSet& CandidateSet, in AddMemberOperatorCandidates() argument
6748 CandidateSet, in AddMemberOperatorCandidates()
6763 OverloadCandidateSet& CandidateSet, in AddBuiltinCandidate() argument
6770 OverloadCandidate &Candidate = CandidateSet.addCandidate(Args.size()); in AddBuiltinCandidate()
7110 OverloadCandidateSet &CandidateSet) { in AddBuiltinAssignmentOperatorCandidates() argument
7116 S.AddBuiltinCandidate(ParamTypes[0], ParamTypes, Args, CandidateSet, in AddBuiltinAssignmentOperatorCandidates()
7124 S.AddBuiltinCandidate(ParamTypes[0], ParamTypes, Args, CandidateSet, in AddBuiltinAssignmentOperatorCandidates()
7193 OverloadCandidateSet &CandidateSet; member in __anon86d99bf30511::BuiltinOperatorOverloadBuilder
7314 S.AddBuiltinCandidate(ParamTypes[0], ParamTypes, Args, CandidateSet); in addPlusPlusMinusMinusStyleOverloads()
7316 S.AddBuiltinCandidate(CandidateTy, ParamTypes, Args, CandidateSet); in addPlusPlusMinusMinusStyleOverloads()
7325 S.AddBuiltinCandidate(ParamTypes[0], ParamTypes, Args, CandidateSet); in addPlusPlusMinusMinusStyleOverloads()
7327 S.AddBuiltinCandidate(CandidateTy, ParamTypes, Args, CandidateSet); in addPlusPlusMinusMinusStyleOverloads()
7338 S.AddBuiltinCandidate(ParamTypes[0], ParamTypes, Args, CandidateSet); in addPlusPlusMinusMinusStyleOverloads()
7340 S.AddBuiltinCandidate(CandidateTy, ParamTypes, Args, CandidateSet); in addPlusPlusMinusMinusStyleOverloads()
7349 S.AddBuiltinCandidate(ParamTypes[0], ParamTypes, Args, CandidateSet); in addPlusPlusMinusMinusStyleOverloads()
7351 S.AddBuiltinCandidate(CandidateTy, ParamTypes, Args, CandidateSet); in addPlusPlusMinusMinusStyleOverloads()
7363 OverloadCandidateSet &CandidateSet) in BuiltinOperatorOverloadBuilder() argument
7369 CandidateSet(CandidateSet) { in BuiltinOperatorOverloadBuilder()
7466 &ParamTy, Args, CandidateSet); in addUnaryStarPointerOverloads()
7483 S.AddBuiltinCandidate(ArithTy, &ArithTy, Args, CandidateSet); in addUnaryPlusOrMinusArithmeticOverloads()
7492 S.AddBuiltinCandidate(VecTy, &VecTy, Args, CandidateSet); in addUnaryPlusOrMinusArithmeticOverloads()
7507 S.AddBuiltinCandidate(ParamTy, &ParamTy, Args, CandidateSet); in addUnaryPlusPointerOverloads()
7523 S.AddBuiltinCandidate(IntTy, &IntTy, Args, CandidateSet); in addUnaryTildePromotedIntegralOverloads()
7532 S.AddBuiltinCandidate(VecTy, &VecTy, Args, CandidateSet); in addUnaryTildePromotedIntegralOverloads()
7557 S.AddBuiltinCandidate(S.Context.BoolTy, ParamTypes, Args, CandidateSet); in addEqualEqualOrNotEqualMemberPointerOverloads()
7592 for (OverloadCandidateSet::iterator C = CandidateSet.begin(), in addRelationalPointerOrEnumeralOverloads()
7593 CEnd = CandidateSet.end(); in addRelationalPointerOrEnumeralOverloads()
7632 S.AddBuiltinCandidate(S.Context.BoolTy, ParamTypes, Args, CandidateSet); in addRelationalPointerOrEnumeralOverloads()
7648 S.AddBuiltinCandidate(S.Context.BoolTy, ParamTypes, Args, CandidateSet); in addRelationalPointerOrEnumeralOverloads()
7658 CandidateSet); in addRelationalPointerOrEnumeralOverloads()
7702 S.AddBuiltinCandidate(*Ptr, AsymmetricParamTypes, Args, CandidateSet); in addBinaryPlusOrMinusPointerOverloads()
7711 Args, CandidateSet); in addBinaryPlusOrMinusPointerOverloads()
7759 S.AddBuiltinCandidate(Result, LandR, Args, CandidateSet); in addGenericBinaryArithmeticOverloads()
7782 S.AddBuiltinCandidate(Result, LandR, Args, CandidateSet); in addGenericBinaryArithmeticOverloads()
7814 S.AddBuiltinCandidate(Result, LandR, Args, CandidateSet); in addBinaryBitwiseArithmeticOverloads()
7838 AddBuiltinAssignmentOperatorCandidates(S, *Enum, Args, CandidateSet); in addAssignmentMemberPointerOrEnumeralOverloads()
7848 AddBuiltinAssignmentOperatorCandidates(S, *MemPtr, Args, CandidateSet); in addAssignmentMemberPointerOrEnumeralOverloads()
7888 S.AddBuiltinCandidate(ParamTypes[0], ParamTypes, Args, CandidateSet, in addAssignmentPointerOverloads()
7897 S.AddBuiltinCandidate(ParamTypes[0], ParamTypes, Args, CandidateSet, in addAssignmentPointerOverloads()
7906 S.AddBuiltinCandidate(ParamTypes[0], ParamTypes, Args, CandidateSet, in addAssignmentPointerOverloads()
7916 S.AddBuiltinCandidate(ParamTypes[0], ParamTypes, Args, CandidateSet, in addAssignmentPointerOverloads()
7937 S.AddBuiltinCandidate(ParamTypes[0], ParamTypes, Args, CandidateSet, in addAssignmentPointerOverloads()
7946 S.AddBuiltinCandidate(ParamTypes[0], ParamTypes, Args, CandidateSet, in addAssignmentPointerOverloads()
7955 S.AddBuiltinCandidate(ParamTypes[0], ParamTypes, Args, CandidateSet, in addAssignmentPointerOverloads()
7965 S.AddBuiltinCandidate(ParamTypes[0], ParamTypes, Args, CandidateSet, in addAssignmentPointerOverloads()
7998 S.AddBuiltinCandidate(ParamTypes[0], ParamTypes, Args, CandidateSet, in addAssignmentArithmeticOverloads()
8006 S.AddBuiltinCandidate(ParamTypes[0], ParamTypes, Args, CandidateSet, in addAssignmentArithmeticOverloads()
8025 S.AddBuiltinCandidate(ParamTypes[0], ParamTypes, Args, CandidateSet, in addAssignmentArithmeticOverloads()
8032 S.AddBuiltinCandidate(ParamTypes[0], ParamTypes, Args, CandidateSet, in addAssignmentArithmeticOverloads()
8064 S.AddBuiltinCandidate(ParamTypes[0], ParamTypes, Args, CandidateSet); in addAssignmentIntegralOverloads()
8070 S.AddBuiltinCandidate(ParamTypes[0], ParamTypes, Args, CandidateSet); in addAssignmentIntegralOverloads()
8085 S.AddBuiltinCandidate(ParamTy, &ParamTy, Args, CandidateSet, in addExclaimOverload()
8091 S.AddBuiltinCandidate(S.Context.BoolTy, ParamTypes, Args, CandidateSet, in addAmpAmpOrPipePipeOverload()
8119 S.AddBuiltinCandidate(ResultTy, ParamTypes, Args, CandidateSet); in addSubscriptOverloads()
8134 S.AddBuiltinCandidate(ResultTy, ParamTypes, Args, CandidateSet); in addSubscriptOverloads()
8172 if (C1 != C2 && !S.IsDerivedFrom(CandidateSet.getLocation(), C1, C2)) in addArrowStarOverloads()
8185 S.AddBuiltinCandidate(ResultTy, ParamTypes, Args, CandidateSet); in addArrowStarOverloads()
8213 S.AddBuiltinCandidate(*Ptr, ParamTypes, Args, CandidateSet); in addConditionalOperatorOverloads()
8224 S.AddBuiltinCandidate(*MemPtr, ParamTypes, Args, CandidateSet); in addConditionalOperatorOverloads()
8239 S.AddBuiltinCandidate(*Enum, ParamTypes, Args, CandidateSet); in addConditionalOperatorOverloads()
8256 OverloadCandidateSet &CandidateSet) { in AddBuiltinOperatorCandidates() argument
8298 CandidateTypes, CandidateSet); in AddBuiltinOperatorCandidates()
8448 OverloadCandidateSet& CandidateSet, in AddArgumentDependentLookupCandidates() argument
8463 for (OverloadCandidateSet::iterator Cand = CandidateSet.begin(), in AddArgumentDependentLookupCandidates()
8464 CandEnd = CandidateSet.end(); in AddArgumentDependentLookupCandidates()
8480 AddOverloadCandidate(FD, FoundDecl, Args, CandidateSet, false, in AddArgumentDependentLookupCandidates()
8485 Args, CandidateSet, PartialOverloading); in AddArgumentDependentLookupCandidates()
10961 OverloadCandidateSet &CandidateSet, in AddOverloadedCallCandidate() argument
10973 S.AddOverloadCandidate(Func, FoundDecl, Args, CandidateSet, in AddOverloadedCallCandidate()
10982 ExplicitTemplateArgs, Args, CandidateSet, in AddOverloadedCallCandidate()
10995 OverloadCandidateSet &CandidateSet, in AddOverloadedCallCandidates() argument
11038 CandidateSet, PartialOverloading, in AddOverloadedCallCandidates()
11044 CandidateSet, PartialOverloading); in AddOverloadedCallCandidates()
11284 OverloadCandidateSet *CandidateSet, in buildOverloadedCallSet() argument
11312 AddOverloadedCallCandidates(ULE, Args, *CandidateSet); in buildOverloadedCallSet()
11319 if (CandidateSet->empty() || in buildOverloadedCallSet()
11320 CandidateSet->BestViableFunction(*this, Fn->getLocStart(), Best) == in buildOverloadedCallSet()
11336 if (CandidateSet->empty()) in buildOverloadedCallSet()
11352 OverloadCandidateSet *CandidateSet, in FinishOverloadedCallExpr() argument
11356 if (CandidateSet->empty()) in FinishOverloadedCallExpr()
11399 CandidateSet->NoteCandidates(SemaRef, OCD_AllCandidates, Args); in FinishOverloadedCallExpr()
11406 CandidateSet->NoteCandidates(SemaRef, OCD_ViableCandidates, Args); in FinishOverloadedCallExpr()
11415 CandidateSet->NoteCandidates(SemaRef, OCD_AllCandidates, Args); in FinishOverloadedCallExpr()
11455 OverloadCandidateSet CandidateSet(Fn->getExprLoc(), in BuildOverloadedCallExpr() local
11459 if (buildOverloadedCallSet(S, Fn, ULE, Args, LParenLoc, &CandidateSet, in BuildOverloadedCallExpr()
11466 markUnaddressableCandidatesUnviable(*this, CandidateSet); in BuildOverloadedCallExpr()
11470 CandidateSet.BestViableFunction(*this, Fn->getLocStart(), Best); in BuildOverloadedCallExpr()
11473 RParenLoc, ExecConfig, &CandidateSet, in BuildOverloadedCallExpr()
11543 OverloadCandidateSet CandidateSet(OpLoc, OverloadCandidateSet::CSK_Operator); in CreateOverloadedUnaryOp() local
11546 AddFunctionCandidates(Fns, ArgsArray, CandidateSet); in CreateOverloadedUnaryOp()
11549 AddMemberOperatorCandidates(Op, OpLoc, ArgsArray, CandidateSet); in CreateOverloadedUnaryOp()
11554 CandidateSet); in CreateOverloadedUnaryOp()
11557 AddBuiltinOperatorCandidates(Op, OpLoc, ArgsArray, CandidateSet); in CreateOverloadedUnaryOp()
11559 bool HadMultipleCandidates = (CandidateSet.size() > 1); in CreateOverloadedUnaryOp()
11563 switch (CandidateSet.BestViableFunction(*this, OpLoc, Best)) { in CreateOverloadedUnaryOp()
11646 CandidateSet.NoteCandidates(*this, OCD_ViableCandidates, ArgsArray, in CreateOverloadedUnaryOp()
11656 CandidateSet.NoteCandidates(*this, OCD_AllCandidates, ArgsArray, in CreateOverloadedUnaryOp()
11750 OverloadCandidateSet CandidateSet(OpLoc, OverloadCandidateSet::CSK_Operator); in CreateOverloadedBinOp() local
11753 AddFunctionCandidates(Fns, Args, CandidateSet); in CreateOverloadedBinOp()
11756 AddMemberOperatorCandidates(Op, OpLoc, Args, CandidateSet); in CreateOverloadedBinOp()
11764 CandidateSet); in CreateOverloadedBinOp()
11767 AddBuiltinOperatorCandidates(Op, OpLoc, Args, CandidateSet); in CreateOverloadedBinOp()
11769 bool HadMultipleCandidates = (CandidateSet.size() > 1); in CreateOverloadedBinOp()
11773 switch (CandidateSet.BestViableFunction(*this, OpLoc, Best)) { in CreateOverloadedBinOp()
11914 CandidateSet.NoteCandidates(*this, OCD_AllCandidates, Args, in CreateOverloadedBinOp()
11924 CandidateSet.NoteCandidates(*this, OCD_ViableCandidates, Args, in CreateOverloadedBinOp()
11946 CandidateSet.NoteCandidates(*this, OCD_AllCandidates, Args, in CreateOverloadedBinOp()
11991 OverloadCandidateSet CandidateSet(LLoc, OverloadCandidateSet::CSK_Operator); in CreateOverloadedArraySubscriptExpr() local
11996 AddMemberOperatorCandidates(OO_Subscript, LLoc, Args, CandidateSet); in CreateOverloadedArraySubscriptExpr()
11999 AddBuiltinOperatorCandidates(OO_Subscript, LLoc, Args, CandidateSet); in CreateOverloadedArraySubscriptExpr()
12001 bool HadMultipleCandidates = (CandidateSet.size() > 1); in CreateOverloadedArraySubscriptExpr()
12005 switch (CandidateSet.BestViableFunction(*this, LLoc, Best)) { in CreateOverloadedArraySubscriptExpr()
12086 if (CandidateSet.empty()) in CreateOverloadedArraySubscriptExpr()
12094 CandidateSet.NoteCandidates(*this, OCD_AllCandidates, Args, in CreateOverloadedArraySubscriptExpr()
12104 CandidateSet.NoteCandidates(*this, OCD_ViableCandidates, Args, in CreateOverloadedArraySubscriptExpr()
12113 CandidateSet.NoteCandidates(*this, OCD_AllCandidates, Args, in CreateOverloadedArraySubscriptExpr()
12218 OverloadCandidateSet CandidateSet(UnresExpr->getMemberLoc(), in BuildCallToMemberFunction() local
12240 Args, CandidateSet); in BuildCallToMemberFunction()
12248 ObjectClassification, Args, CandidateSet, in BuildCallToMemberFunction()
12254 Args, CandidateSet, in BuildCallToMemberFunction()
12264 switch (CandidateSet.BestViableFunction(*this, UnresExpr->getLocStart(), in BuildCallToMemberFunction()
12287 CandidateSet.NoteCandidates(*this, OCD_AllCandidates, Args); in BuildCallToMemberFunction()
12294 CandidateSet.NoteCandidates(*this, OCD_AllCandidates, Args); in BuildCallToMemberFunction()
12304 CandidateSet.NoteCandidates(*this, OCD_AllCandidates, Args); in BuildCallToMemberFunction()
12447 OverloadCandidateSet CandidateSet(LParenLoc, in BuildCallToObjectOfClassType() local
12463 Args, CandidateSet, in BuildCallToObjectOfClassType()
12508 Object.get(), Args, CandidateSet); in BuildCallToObjectOfClassType()
12513 bool HadMultipleCandidates = (CandidateSet.size() > 1); in BuildCallToObjectOfClassType()
12517 switch (CandidateSet.BestViableFunction(*this, Object.get()->getLocStart(), in BuildCallToObjectOfClassType()
12525 if (CandidateSet.empty()) in BuildCallToObjectOfClassType()
12533 CandidateSet.NoteCandidates(*this, OCD_AllCandidates, Args); in BuildCallToObjectOfClassType()
12540 CandidateSet.NoteCandidates(*this, OCD_ViableCandidates, Args); in BuildCallToObjectOfClassType()
12550 CandidateSet.NoteCandidates(*this, OCD_AllCandidates, Args); in BuildCallToObjectOfClassType()
12554 if (Best == CandidateSet.end()) in BuildCallToObjectOfClassType()
12727 OverloadCandidateSet CandidateSet(Loc, OverloadCandidateSet::CSK_Operator); in BuildOverloadedArrowExpr() local
12741 None, CandidateSet, /*SuppressUserConversions=*/false); in BuildOverloadedArrowExpr()
12744 bool HadMultipleCandidates = (CandidateSet.size() > 1); in BuildOverloadedArrowExpr()
12748 switch (CandidateSet.BestViableFunction(*this, OpLoc, Best)) { in BuildOverloadedArrowExpr()
12754 if (CandidateSet.empty()) { in BuildOverloadedArrowExpr()
12771 CandidateSet.NoteCandidates(*this, OCD_AllCandidates, Base); in BuildOverloadedArrowExpr()
12777 CandidateSet.NoteCandidates(*this, OCD_ViableCandidates, Base); in BuildOverloadedArrowExpr()
12786 CandidateSet.NoteCandidates(*this, OCD_AllCandidates, Base); in BuildOverloadedArrowExpr()
12829 OverloadCandidateSet CandidateSet(UDSuffixLoc, in BuildLiteralOperatorCall() local
12831 AddFunctionCandidates(R.asUnresolvedSet(), Args, CandidateSet, TemplateArgs, in BuildLiteralOperatorCall()
12834 bool HadMultipleCandidates = (CandidateSet.size() > 1); in BuildLiteralOperatorCall()
12839 switch (CandidateSet.BestViableFunction(*this, UDSuffixLoc, Best)) { in BuildLiteralOperatorCall()
12847 CandidateSet.NoteCandidates(*this, OCD_AllCandidates, Args); in BuildLiteralOperatorCall()
12852 CandidateSet.NoteCandidates(*this, OCD_ViableCandidates, Args); in BuildLiteralOperatorCall()
12906 OverloadCandidateSet *CandidateSet, in BuildForRangeBeginEndCall() argument
12910 CandidateSet->clear(); in BuildForRangeBeginEndCall()
12937 CandidateSet, CallExpr); in BuildForRangeBeginEndCall()
12938 if (CandidateSet->empty() || CandidateSetError) { in BuildForRangeBeginEndCall()
12944 CandidateSet->BestViableFunction(*this, Fn->getLocStart(), Best); in BuildForRangeBeginEndCall()
12951 Loc, nullptr, CandidateSet, &Best, in BuildForRangeBeginEndCall()