Lines Matching defs:Best
613 OverloadCandidateSet::iterator Best;
616 .BestViableFunction(SemaRef, Kind.getLocation(), Best);
619 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function);
4295 DeclContext::lookup_result Ctors, OverloadCandidateSet::iterator &Best,
4393 return CandidateSet.BestViableFunction(S, DeclLoc, Best);
4504 OverloadCandidateSet::iterator Best;
4523 S, Kind.getLocation(), Args, CandidateSet, DestType, Ctors, Best,
4543 Best, CopyInitialization, AllowExplicit,
4560 if (auto *CD = dyn_cast<CXXConversionDecl>(Best->Function)) {
4565 Sequence.AddUserConversionStep(CD, Best->FoundDecl, ConvType,
4574 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function);
4625 Best->FoundDecl, CtorDecl, DestArrayType, HadMultipleCandidates,
5123 OverloadCandidateSet::iterator Best;
5125 = CandidateSet.BestViableFunction(S, DeclLoc, Best))
5128 FunctionDecl *Function = Best->Function;
5149 Sequence.AddUserConversionStep(Function, Best->FoundDecl, cv3T3,
5165 ICS.Standard = Best->FinalConversion;
6050 OverloadCandidateSet::iterator Best;
6052 = CandidateSet.BestViableFunction(S, DeclLoc, Best)) {
6067 FunctionDecl *Function = Best->Function;
6075 Sequence.AddUserConversionStep(Function, Best->FoundDecl,
6105 Sequence.AddUserConversionStep(Function, Best->FoundDecl, ConvType,
6129 if (Best->FinalConversion.First || Best->FinalConversion.Second ||
6130 Best->FinalConversion.Third) {
6133 ICS.Standard = Best->FinalConversion;
6687 OverloadCandidateSet::iterator Best;
6689 S, Kind.getLocation(), Best);
7066 OverloadCandidateSet::iterator Best;
7068 S, Loc, CurInitExpr, CandidateSet, T, Ctors, Best,
7102 S.NoteDeletedFunction(Best->Function);
7108 CXXConstructorDecl *Constructor = cast<CXXConstructorDecl>(Best->Function);
7112 S.CheckConstructorAccess(Loc, Constructor, Best->FoundDecl, Entity,
7170 Best->Function->getParamDecl(0)->getType().getNonReferenceType(),
7175 Loc, T, Best->FoundDecl, Constructor, Elidable, ConstructorArgs,
7209 OverloadCandidateSet::iterator Best;
7211 S, Loc, CurInitExpr, CandidateSet, CurInitExpr->getType(), Ctors, Best,
7223 S.CheckConstructorAccess(Loc, cast<CXXConstructorDecl>(Best->Function),
7224 Best->FoundDecl, Entity, Diag);
7240 S.NoteDeletedFunction(Best->Function);
8875 OverloadCandidateSet::iterator Best;
8877 = FailedCandidateSet.BestViableFunction(S, Kind.getLocation(), Best);
8879 StringLiteral *Msg = Best->Function->getDeletedMessage();
8885 S.NoteDeletedFunction(Best->Function);
9124 OverloadCandidateSet::iterator Best;
9126 = FailedCandidateSet.BestViableFunction(S, Kind.getLocation(), Best);
9137 if (S.isImplicitlyDeleted(Best->Function))
9140 S.getSpecialMember(cast<CXXMethodDecl>(Best->Function)))
9143 StringLiteral *Msg = Best->Function->getDeletedMessage();
9149 S.NoteDeletedFunction(Best->Function);
9204 OverloadCandidateSet::iterator Best;
9206 = FailedCandidateSet.BestViableFunction(S, Kind.getLocation(), Best);
9209 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function);
9936 OverloadCandidateSet::iterator Best;
10097 return Candidates.BestViableFunction(*this, Kind.getLocation(), Best);
10177 NoteDeletedFunction(Best->Function);
10186 cast<CXXDeductionGuideDecl>(Best->Function)->isExplicit()) {
10187 bool IsDeductionGuide = !Best->Function->isImplicit();
10190 Diag(Best->Function->getLocation(),
10198 DiagnoseUseOfDecl(Best->FoundDecl, Kind.getLocation());
10199 MarkFunctionReferenced(Kind.getLocation(), Best->Function);
10207 SubstAutoType(TSInfo->getType(), Best->Function->getReturnType());