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