Lines Matching defs:TypoName
5118 const DeclarationNameInfo &TypoName, Sema::LookupNameKind LookupKind,
5135 IdentifierInfo *Typo = TypoName.getName().getAsIdentifierInfo();
5155 locs->second.count(TypoName.getLoc()))
5178 TypoName.getBeginLoc());
5187 *this, TypoName, LookupKind, S, SS, std::move(ClonedCCC), MemberContext,
5261 TypoCorrection Sema::CorrectTypo(const DeclarationNameInfo &TypoName,
5274 ExternalSource->CorrectTypo(TypoName, LookupKind, S, SS, CCC,
5285 IdentifierInfo *Typo = TypoName.getName().getAsIdentifierInfo();
5286 auto Consumer = makeTypoCorrectionConsumer(TypoName, LookupKind, S, SS, CCC,
5295 return FailedCorrection(Typo, TypoName.getLoc(), RecordFailure);
5302 return FailedCorrection(Typo, TypoName.getLoc(), RecordFailure);
5307 return FailedCorrection(Typo, TypoName.getLoc(), RecordFailure);
5315 return FailedCorrection(Typo, TypoName.getLoc(), RecordFailure);
5326 return FailedCorrection(Typo, TypoName.getLoc(), RecordFailure);
5329 TC.setCorrectionRange(SS, TypoName);
5346 return FailedCorrection(Typo, TypoName.getLoc(), RecordFailure);
5348 BestTC.setCorrectionRange(SS, TypoName);
5355 return FailedCorrection(Typo, TypoName.getLoc(), RecordFailure && !SecondBestTC);
5359 const DeclarationNameInfo &TypoName, Sema::LookupNameKind LookupKind,
5364 auto Consumer = makeTypoCorrectionConsumer(TypoName, LookupKind, S, SS, CCC,
5372 TypoName, LookupKind, S, SS, *Consumer->getCorrectionValidator(),
5384 IdentifierInfo *Typo = TypoName.getName().getAsIdentifierInfo();
5389 TypoName.getLoc());