Home | History | Annotate | Download | only in Sema

Lines Matching defs:Candidate

2333   //        when T2 is an enumeration type, are candidate functions.
2814 // candidate set.
3409 // nothing more to be done to add Correction to the candidate set.
3823 TypoCorrection &Candidate) {
3824 Candidate.setCallbackDistance(CCC.RankCandidate(Candidate));
3825 return Candidate.getEditDistance(false) != TypoCorrection::InvalidDistance;
3899 // If a callback object considers an empty typo correction candidate to be
4074 assert(I->second.size() == 1 && "Expected a single unresolved candidate");
4077 TypoCorrection &Candidate = I->second.front();
4078 IdentifierInfo *Name = Candidate.getCorrectionAsIdentifierInfo();
4093 Candidate.WillReplaceSpecifier(true);
4102 QualifiedResults.push_back(Candidate);
4123 Candidate.addCorrectionDecl(*TRD);
4125 if (!isCandidateViable(CCC, Candidate)) {
4126 QualifiedResults.push_back(Candidate);
4134 Candidate.setCorrectionDecl(TmpRes.getAsSingle<NamedDecl>());
4136 if (!isCandidateViable(CCC, Candidate)) {
4137 QualifiedResults.push_back(Candidate);
4290 bool CorrectionCandidateCallback::ValidateCandidate(const TypoCorrection &candidate) {
4291 if (!candidate.isResolved())
4294 if (candidate.isKeyword())
4298 for (TypoCorrection::const_decl_iterator CDecl = candidate.begin(),
4299 CDeclEnd = candidate.end();
4315 bool FunctionCallFilterCCC::ValidateCandidate(const TypoCorrection &candidate) {
4316 if (!candidate.getCorrectionDecl())
4317 return candidate.isKeyword();
4319 for (TypoCorrection::const_decl_iterator DI = candidate.begin(),
4320 DIEnd = candidate.end();