Home | History | Annotate | Download | only in Sema

Lines Matching refs:Best

387     OverloadCandidateSet::iterator Best;
390 .BestViableFunction(SemaRef, Kind.getLocation(), Best);
393 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function);
3132 OverloadCandidateSet::iterator &Best,
3152 // C++11 [over.best.ics]p4:
3196 return CandidateSet.BestViableFunction(S, DeclLoc, Best);
3201 /// resolution to select the best.
3234 // applicable constructors are enumerated, and the best one is chosen
3243 OverloadCandidateSet::iterator Best;
3260 CandidateSet, Ctors, Best,
3277 CandidateSet, Ctors, Best,
3296 !cast<CXXConstructorDecl>(Best->Function)->isUserProvided()) {
3304 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function);
3314 Best->FoundDecl.getAccess(),
3654 OverloadCandidateSet::iterator Best;
3656 = CandidateSet.BestViableFunction(S, DeclLoc, Best, true))
3659 FunctionDecl *Function = Best->Function;
3672 Sequence.AddUserConversionStep(Function, Best->FoundDecl,
3699 ICS.Standard = Best->FinalConversion;
3842 // Per C++ [over.best.ics]p2, we don't diagnose whether the lvalue is a
3867 // applicable conversion functions (13.3.1.6) and choosing the best
4164 /// to select the best.
4275 OverloadCandidateSet::iterator Best;
4277 = CandidateSet.BestViableFunction(S, DeclLoc, Best, true)) {
4284 FunctionDecl *Function = Best->Function;
4292 Sequence.AddUserConversionStep(Function, Best->FoundDecl,
4307 Sequence.AddUserConversionStep(Function, Best->FoundDecl, DestType,
4312 Sequence.AddUserConversionStep(Function, Best->FoundDecl, ConvType,
4317 if (Best->FinalConversion.First || Best->FinalConversion.Second ||
4318 Best->FinalConversion.Third) {
4321 ICS.Standard = Best->FinalConversion;
4738 // 13.3.1.4, and the best one is chosen through overload resolution
5074 OverloadCandidateSet::iterator Best;
5075 switch (CandidateSet.BestViableFunction(S, Loc, Best)) {
5101 S.NoteDeletedFunction(Best->Function);
5105 CXXConstructorDecl *Constructor = cast<CXXConstructorDecl>(Best->Function);
5110 Best->FoundDecl.getAccess(), IsExtraneousCopy);
5181 OverloadCandidateSet::iterator Best;
5182 OverloadingResult OR = CandidateSet.BestViableFunction(S, Loc, Best);
5190 S.CheckConstructorAccess(Loc, cast<CXXConstructorDecl>(Best->Function),
5191 Entity, Best->FoundDecl.getAccess(), Diag);
5207 S.NoteDeletedFunction(Best->Function);
6539 OverloadCandidateSet::iterator Best;
6541 = FailedCandidateSet.BestViableFunction(S, Kind.getLocation(), Best,
6544 S.NoteDeletedFunction(Best->Function);
6719 OverloadCandidateSet::iterator Best;
6721 = FailedCandidateSet.BestViableFunction(S, Kind.getLocation(), Best);
6732 if (S.isImplicitlyDeleted(Best->Function))
6734 << S.getSpecialMember(cast<CXXMethodDecl>(Best->Function))
6740 S.NoteDeletedFunction(Best->Function);
6791 OverloadCandidateSet::iterator Best;
6793 = FailedCandidateSet.BestViableFunction(S, Kind.getLocation(), Best);
6796 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function);