Lines Matching defs:Best
611 OverloadCandidateSet::iterator Best;
614 .BestViableFunction(SemaRef, Kind.getLocation(), Best);
617 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function);
4230 DeclContext::lookup_result Ctors, OverloadCandidateSet::iterator &Best,
4328 return CandidateSet.BestViableFunction(S, DeclLoc, Best);
4409 OverloadCandidateSet::iterator Best;
4428 S, Kind.getLocation(), Args, CandidateSet, DestType, Ctors, Best,
4442 Best, CopyInitialization, AllowExplicit,
4459 if (auto *CD = dyn_cast<CXXConversionDecl>(Best->Function)) {
4464 Sequence.AddUserConversionStep(CD, Best->FoundDecl, ConvType,
4473 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function);
4516 Best->FoundDecl, CtorDecl, DestArrayType, HadMultipleCandidates,
4989 OverloadCandidateSet::iterator Best;
4991 = CandidateSet.BestViableFunction(S, DeclLoc, Best))
4994 FunctionDecl *Function = Best->Function;
5015 Sequence.AddUserConversionStep(Function, Best->FoundDecl, cv3T3,
5031 ICS.Standard = Best->FinalConversion;
5906 OverloadCandidateSet::iterator Best;
5908 = CandidateSet.BestViableFunction(S, DeclLoc, Best)) {
5923 FunctionDecl *Function = Best->Function;
5931 Sequence.AddUserConversionStep(Function, Best->FoundDecl,
5961 Sequence.AddUserConversionStep(Function, Best->FoundDecl, ConvType,
5985 if (Best->FinalConversion.First || Best->FinalConversion.Second ||
5986 Best->FinalConversion.Third) {
5989 ICS.Standard = Best->FinalConversion;
6547 OverloadCandidateSet::iterator Best;
6549 S, Kind.getLocation(), Best);
6925 OverloadCandidateSet::iterator Best;
6927 S, Loc, CurInitExpr, CandidateSet, T, Ctors, Best,
6961 S.NoteDeletedFunction(Best->Function);
6967 CXXConstructorDecl *Constructor = cast<CXXConstructorDecl>(Best->Function);
6971 S.CheckConstructorAccess(Loc, Constructor, Best->FoundDecl, Entity,
7029 Best->Function->getParamDecl(0)->getType().getNonReferenceType(),
7034 Loc, T, Best->FoundDecl, Constructor, Elidable, ConstructorArgs,
7068 OverloadCandidateSet::iterator Best;
7070 S, Loc, CurInitExpr, CandidateSet, CurInitExpr->getType(), Ctors, Best,
7082 S.CheckConstructorAccess(Loc, cast<CXXConstructorDecl>(Best->Function),
7083 Best->FoundDecl, Entity, Diag);
7099 S.NoteDeletedFunction(Best->Function);
8720 OverloadCandidateSet::iterator Best;
8722 = FailedCandidateSet.BestViableFunction(S, Kind.getLocation(), Best);
8724 StringLiteral *Msg = Best->Function->getDeletedMessage();
8730 S.NoteDeletedFunction(Best->Function);
8969 OverloadCandidateSet::iterator Best;
8971 = FailedCandidateSet.BestViableFunction(S, Kind.getLocation(), Best);
8982 if (S.isImplicitlyDeleted(Best->Function))
8985 S.getSpecialMember(cast<CXXMethodDecl>(Best->Function)))
8988 StringLiteral *Msg = Best->Function->getDeletedMessage();
8994 S.NoteDeletedFunction(Best->Function);
9049 OverloadCandidateSet::iterator Best;
9051 = FailedCandidateSet.BestViableFunction(S, Kind.getLocation(), Best);
9054 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function);
9781 OverloadCandidateSet::iterator Best;
9942 return Candidates.BestViableFunction(*this, Kind.getLocation(), Best);
10022 NoteDeletedFunction(Best->Function);
10031 cast<CXXDeductionGuideDecl>(Best->Function)->isExplicit()) {
10032 bool IsDeductionGuide = !Best->Function->isImplicit();
10035 Diag(Best->Function->getLocation(),
10043 DiagnoseUseOfDecl(Best->FoundDecl, Kind.getLocation());
10044 MarkFunctionReferenced(Kind.getLocation(), Best->Function);
10052 SubstAutoType(TSInfo->getType(), Best->Function->getReturnType());