Lines Matching defs:Best

533     OverloadCandidateSet::iterator Best;
536 .BestViableFunction(SemaRef, Kind.getLocation(), Best);
539 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function);
3928 OverloadCandidateSet::iterator &Best,
4026 return CandidateSet.BestViableFunction(S, DeclLoc, Best);
4105 OverloadCandidateSet::iterator Best;
4124 CandidateSet, DestType, Ctors, Best,
4138 CandidateSet, DestType, Ctors, Best,
4157 if (auto *CD = dyn_cast<CXXConversionDecl>(Best->Function)) {
4162 Sequence.AddUserConversionStep(CD, Best->FoundDecl, ConvType,
4171 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function);
4214 Best->FoundDecl, CtorDecl, DestArrayType, HadMultipleCandidates,
4657 OverloadCandidateSet::iterator Best;
4659 = CandidateSet.BestViableFunction(S, DeclLoc, Best))
4662 FunctionDecl *Function = Best->Function;
4683 Sequence.AddUserConversionStep(Function, Best->FoundDecl, cv3T3,
4699 ICS.Standard = Best->FinalConversion;
5318 OverloadCandidateSet::iterator Best;
5320 = CandidateSet.BestViableFunction(S, DeclLoc, Best)) {
5335 FunctionDecl *Function = Best->Function;
5343 Sequence.AddUserConversionStep(Function, Best->FoundDecl,
5373 Sequence.AddUserConversionStep(Function, Best->FoundDecl, ConvType,
5397 if (Best->FinalConversion.First || Best->FinalConversion.Second ||
5398 Best->FinalConversion.Third) {
5401 ICS.Standard = Best->FinalConversion;
6255 OverloadCandidateSet::iterator Best;
6257 S, Loc, CurInitExpr, CandidateSet, T, Ctors, Best,
6290 S.NoteDeletedFunction(Best->Function);
6296 CXXConstructorDecl *Constructor = cast<CXXConstructorDecl>(Best->Function);
6300 S.CheckConstructorAccess(Loc, Constructor, Best->FoundDecl, Entity,
6358 Best->Function->getParamDecl(0)->getType().getNonReferenceType(),
6362 CurInit = S.BuildCXXConstructExpr(Loc, T, Best->FoundDecl, Constructor,
6400 OverloadCandidateSet::iterator Best;
6402 S, Loc, CurInitExpr, CandidateSet, CurInitExpr->getType(), Ctors, Best,
6413 S.CheckConstructorAccess(Loc, cast<CXXConstructorDecl>(Best->Function),
6414 Best->FoundDecl, Entity, Diag);
6430 S.NoteDeletedFunction(Best->Function);
9105 OverloadCandidateSet::iterator Best;
9107 = FailedCandidateSet.BestViableFunction(S, Kind.getLocation(), Best);
9109 S.NoteDeletedFunction(Best->Function);
9347 OverloadCandidateSet::iterator Best;
9349 = FailedCandidateSet.BestViableFunction(S, Kind.getLocation(), Best);
9360 if (S.isImplicitlyDeleted(Best->Function))
9362 << S.getSpecialMember(cast<CXXMethodDecl>(Best->Function))
9368 S.NoteDeletedFunction(Best->Function);
9419 OverloadCandidateSet::iterator Best;
9421 = FailedCandidateSet.BestViableFunction(S, Kind.getLocation(), Best);
9424 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function);
10032 OverloadCandidateSet::iterator Best;
10103 return Candidates.BestViableFunction(*this, Kind.getLocation(), Best);
10180 NoteDeletedFunction(Best->Function);
10189 cast<CXXDeductionGuideDecl>(Best->Function)->isExplicit()) {
10190 bool IsDeductionGuide = !Best->Function->isImplicit();
10193 Diag(Best->Function->getLocation(),
10201 DiagnoseUseOfDecl(Best->Function, Kind.getLocation());
10202 MarkFunctionReferenced(Kind.getLocation(), Best->Function);
10210 SubstAutoType(TSInfo->getType(), Best->Function->getReturnType());