Lines Matching refs:Best
2797 OverloadCandidateSet::iterator &Best,
2852 return CandidateSet.BestViableFunction(S, DeclLoc, Best);
2857 /// resolution to select the best.
2904 // applicable constructors are enumerated, and the best one is chosen
2910 OverloadCandidateSet::iterator Best;
2922 CandidateSet, ConStart, ConEnd, Best,
2941 CandidateSet, ConStart, ConEnd, Best,
2960 cast<CXXConstructorDecl>(Best->Function)->isImplicit()) {
2968 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function);
2978 Best->FoundDecl.getAccess(),
3266 OverloadCandidateSet::iterator Best;
3268 = CandidateSet.BestViableFunction(S, DeclLoc, Best, true))
3271 FunctionDecl *Function = Best->Function;
3285 Sequence.AddUserConversionStep(Function, Best->FoundDecl,
3312 ICS.Standard = Best->FinalConversion;
3404 // Per C++ [over.best.ics]p2, we don't diagnose whether the lvalue is a
3429 // applicable conversion functions (13.3.1.6) and choosing the best
3695 /// to select the best.
3799 OverloadCandidateSet::iterator Best;
3801 = CandidateSet.BestViableFunction(S, DeclLoc, Best, true)) {
3808 FunctionDecl *Function = Best->Function;
3816 Sequence.AddUserConversionStep(Function, Best->FoundDecl,
3831 Sequence.AddUserConversionStep(Function, Best->FoundDecl, DestType,
3836 Sequence.AddUserConversionStep(Function, Best->FoundDecl, ConvType,
3841 if (Best->FinalConversion.First || Best->FinalConversion.Second ||
3842 Best->FinalConversion.Third) {
3845 ICS.Standard = Best->FinalConversion;
4158 // 13.3.1.4, and the best one is chosen through overload resolution
4467 OverloadCandidateSet::iterator Best;
4468 switch (CandidateSet.BestViableFunction(S, Loc, Best)) {
4494 S.NoteDeletedFunction(Best->Function);
4498 CXXConstructorDecl *Constructor = cast<CXXConstructorDecl>(Best->Function);
4503 Best->FoundDecl.getAccess(), IsExtraneousCopy);
4577 OverloadCandidateSet::iterator Best;
4578 OverloadingResult OR = CandidateSet.BestViableFunction(S, Loc, Best);
4586 S.CheckConstructorAccess(Loc, cast<CXXConstructorDecl>(Best->Function),
4587 Entity, Best->FoundDecl.getAccess(), Diag);
4603 S.NoteDeletedFunction(Best->Function);
5455 OverloadCandidateSet::iterator Best;
5457 = FailedCandidateSet.BestViableFunction(S, Kind.getLocation(), Best,
5460 S.NoteDeletedFunction(Best->Function);
5638 OverloadCandidateSet::iterator Best;
5640 = FailedCandidateSet.BestViableFunction(S, Kind.getLocation(), Best);
5651 if (S.isImplicitlyDeleted(Best->Function))
5653 << S.getSpecialMember(cast<CXXMethodDecl>(Best->Function))
5659 S.NoteDeletedFunction(Best->Function);
5746 OverloadCandidateSet::iterator Best;
5748 = FailedCandidateSet.BestViableFunction(S, Kind.getLocation(), Best);
5751 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function);