Lines Matching refs:Best

410     OverloadCandidateSet::iterator Best;
413 .BestViableFunction(SemaRef, Kind.getLocation(), Best);
416 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function);
3356 OverloadCandidateSet::iterator &Best,
3420 return CandidateSet.BestViableFunction(S, DeclLoc, Best);
3466 OverloadCandidateSet::iterator Best;
3486 CandidateSet, Ctors, Best,
3503 CandidateSet, Ctors, Best,
3522 !cast<CXXConstructorDecl>(Best->Function)->isUserProvided()) {
3531 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function);
3541 CtorDecl, Best->FoundDecl.getAccess(), DestType, HadMultipleCandidates,
3926 OverloadCandidateSet::iterator Best;
3928 = CandidateSet.BestViableFunction(S, DeclLoc, Best, true))
3931 FunctionDecl *Function = Best->Function;
3944 Sequence.AddUserConversionStep(Function, Best->FoundDecl,
3971 ICS.Standard = Best->FinalConversion;
4545 OverloadCandidateSet::iterator Best;
4547 = CandidateSet.BestViableFunction(S, DeclLoc, Best, true)) {
4554 FunctionDecl *Function = Best->Function;
4562 Sequence.AddUserConversionStep(Function, Best->FoundDecl,
4577 Sequence.AddUserConversionStep(Function, Best->FoundDecl, DestType,
4582 Sequence.AddUserConversionStep(Function, Best->FoundDecl, ConvType,
4587 if (Best->FinalConversion.First || Best->FinalConversion.Second ||
4588 Best->FinalConversion.Third) {
4591 ICS.Standard = Best->FinalConversion;
5370 OverloadCandidateSet::iterator Best;
5371 switch (CandidateSet.BestViableFunction(S, Loc, Best)) {
5397 S.NoteDeletedFunction(Best->Function);
5401 CXXConstructorDecl *Constructor = cast<CXXConstructorDecl>(Best->Function);
5406 Best->FoundDecl.getAccess(), IsExtraneousCopy);
5478 OverloadCandidateSet::iterator Best;
5479 OverloadingResult OR = CandidateSet.BestViableFunction(S, Loc, Best);
5487 S.CheckConstructorAccess(Loc, cast<CXXConstructorDecl>(Best->Function),
5488 Entity, Best->FoundDecl.getAccess(), Diag);
5504 S.NoteDeletedFunction(Best->Function);
6988 OverloadCandidateSet::iterator Best;
6990 = FailedCandidateSet.BestViableFunction(S, Kind.getLocation(), Best,
6993 S.NoteDeletedFunction(Best->Function);
7177 OverloadCandidateSet::iterator Best;
7179 = FailedCandidateSet.BestViableFunction(S, Kind.getLocation(), Best);
7190 if (S.isImplicitlyDeleted(Best->Function))
7192 << S.getSpecialMember(cast<CXXMethodDecl>(Best->Function))
7198 S.NoteDeletedFunction(Best->Function);
7249 OverloadCandidateSet::iterator Best;
7251 = FailedCandidateSet.BestViableFunction(S, Kind.getLocation(), Best);
7254 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function);