Home | History | Annotate | Download | only in Sema

Lines Matching refs:Best

2992                            OverloadCandidateSet::iterator &Best,
3046 return CandidateSet.BestViableFunction(S, DeclLoc, Best);
3051 /// resolution to select the best.
3084 // applicable constructors are enumerated, and the best one is chosen
3093 OverloadCandidateSet::iterator Best;
3110 CandidateSet, Ctors, Best,
3127 CandidateSet, Ctors, Best,
3146 !cast<CXXConstructorDecl>(Best->Function)->isUserProvided()) {
3154 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function);
3164 Best->FoundDecl.getAccess(),
3474 OverloadCandidateSet::iterator Best;
3476 = CandidateSet.BestViableFunction(S, DeclLoc, Best, true))
3479 FunctionDecl *Function = Best->Function;
3492 Sequence.AddUserConversionStep(Function, Best->FoundDecl,
3519 ICS.Standard = Best->FinalConversion;
3662 // Per C++ [over.best.ics]p2, we don't diagnose whether the lvalue is a
3687 // applicable conversion functions (13.3.1.6) and choosing the best
3987 /// to select the best.
4096 Best;
4098 = CandidateSet.BestViableFunction(S, DeclLoc, Best, true)) {
4105 FunctionDecl *Function = Best->Function;
4113 Sequence.AddUserConversionStep(Function, Best->FoundDecl,
4128 Sequence.AddUserConversionStep(Function, Best->FoundDecl, DestType,
4133 Sequence.AddUserConversionStep(Function, Best->FoundDecl, ConvType,
4138 if (Best->FinalConversion.First || Best->FinalConversion.Second ||
4139 Best->FinalConversion.Third) {
4142 ICS.Standard = Best->FinalConversion;
4542 // 13.3.1.4, and the best one is chosen through overload resolution
4876 OverloadCandidateSet::iterator Best;
4877 switch (CandidateSet.BestViableFunction(S, Loc, Best)) {
4903 S.NoteDeletedFunction(Best->Function);
4907 CXXConstructorDecl *Constructor = cast<CXXConstructorDecl>(Best->Function);
4912 Best->FoundDecl.getAccess(), IsExtraneousCopy);
4984 OverloadCandidateSet::iterator Best;
4985 OverloadingResult OR = CandidateSet.BestViableFunction(S, Loc, Best);
4993 S.CheckConstructorAccess(Loc, cast<CXXConstructorDecl>(Best->Function),
4994 Entity, Best->FoundDecl.getAccess(), Diag);
5010 S.NoteDeletedFunction(Best->Function);
6306 OverloadCandidateSet::iterator Best;
6308 = FailedCandidateSet.BestViableFunction(S, Kind.getLocation(), Best,
6311 S.NoteDeletedFunction(Best->Function);
6484 OverloadCandidateSet::iterator Best;
6486 = FailedCandidateSet.BestViableFunction(S, Kind.getLocation(), Best);
6497 if (S.isImplicitlyDeleted(Best->Function))
6499 << S.getSpecialMember(cast<CXXMethodDecl>(Best->Function))
6505 S.NoteDeletedFunction(Best->Function);
6560 OverloadCandidateSet::iterator Best;
6562 = FailedCandidateSet.BestViableFunction(S, Kind.getLocation(), Best);
6565 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function);