Home
last modified time | relevance | path

Searched refs:SecondBestTC (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/Sema/
DSemaLookup.cpp4682 TypoCorrection SecondBestTC = Consumer->getNextCorrection(); in CorrectTypo() local
4696 if (!SecondBestTC || in CorrectTypo()
4697 SecondBestTC.getEditDistance(false) > BestTC.getEditDistance(false)) { in CorrectTypo()
4709 } else if (SecondBestTC && ObjCMessageReceiver) { in CorrectTypo()
4714 if (SecondBestTC.getCorrection().getAsString() == "super") in CorrectTypo()
4715 BestTC = SecondBestTC; in CorrectTypo()
4732 return FailedCorrection(Typo, TypoName.getLoc(), RecordFailure && !SecondBestTC); in CorrectTypo()
/external/llvm-project/clang/lib/Sema/
DSemaLookup.cpp5000 TypoCorrection SecondBestTC = Consumer->getNextCorrection(); in CorrectTypo() local
5014 if (!SecondBestTC || in CorrectTypo()
5015 SecondBestTC.getEditDistance(false) > BestTC.getEditDistance(false)) { in CorrectTypo()
5027 } else if (SecondBestTC && ObjCMessageReceiver) { in CorrectTypo()
5032 if (SecondBestTC.getCorrection().getAsString() == "super") in CorrectTypo()
5033 BestTC = SecondBestTC; in CorrectTypo()
5050 return FailedCorrection(Typo, TypoName.getLoc(), RecordFailure && !SecondBestTC); in CorrectTypo()