Lines Matching refs:Best
1840 UsualDeallocFnInfo Best; in resolveDeallocationOverload() local
1848 if (!Best) { in resolveDeallocationOverload()
1849 Best = Info; in resolveDeallocationOverload()
1855 if (Best.isBetterThan(Info, WantSize, WantAlign)) in resolveDeallocationOverload()
1860 if (BestFns && Info.isBetterThan(Best, WantSize, WantAlign)) in resolveDeallocationOverload()
1863 Best = Info; in resolveDeallocationOverload()
1868 return Best; in resolveDeallocationOverload()
1901 auto Best = resolveDeallocationOverload( in doesUsualArrayDeleteWantSize() local
1904 return Best && Best.HasSizeT; in doesUsualArrayDeleteWantSize()
2580 OverloadCandidateSet::iterator Best; in resolveAllocationOverload() local
2581 switch (Candidates.BestViableFunction(S, R.getNameLoc(), Best)) { in resolveAllocationOverload()
2584 FunctionDecl *FnDecl = Best->Function; in resolveAllocationOverload()
2586 Best->FoundDecl) == Sema::AR_inaccessible) in resolveAllocationOverload()
2689 Candidates, Best->Function, Args); in resolveAllocationOverload()
3892 OverloadCandidateSet::iterator Best; in resolveBuiltinNewDeleteOverload() local
3893 switch (Candidates.BestViableFunction(S, R.getNameLoc(), Best)) { in resolveBuiltinNewDeleteOverload()
3896 FunctionDecl *FnDecl = Best->Function; in resolveBuiltinNewDeleteOverload()
3930 Candidates, Best->Function, Args); in resolveBuiltinNewDeleteOverload()
6560 OverloadCandidateSet::iterator Best; in FindConditionalOverload() local
6561 switch (CandidateSet.BestViableFunction(Self, QuestionLoc, Best)) { in FindConditionalOverload()
6565 LHS.get(), Best->BuiltinParamTypes[0], Best->Conversions[0], in FindConditionalOverload()
6572 RHS.get(), Best->BuiltinParamTypes[1], Best->Conversions[1], in FindConditionalOverload()
6577 if (Best->Function) in FindConditionalOverload()
6578 Self.MarkFunctionReferenced(QuestionLoc, Best->Function); in FindConditionalOverload()