Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaLookup.cpp5396 TypoCorrection BestTC = Consumer->getNextCorrection(); in CorrectTypo() local
5398 if (!BestTC) in CorrectTypo()
5401 ED = BestTC.getEditDistance(); in CorrectTypo()
5412 SecondBestTC.getEditDistance(false) > BestTC.getEditDistance(false)) { in CorrectTypo()
5413 const TypoCorrection &Result = BestTC; in CorrectTypo()
5428 if (BestTC.getCorrection().getAsString() != "super") { in CorrectTypo()
5430 BestTC = SecondBestTC; in CorrectTypo()
5432 BestTC = (*Consumer)["super"].front(); in CorrectTypo()
5436 if (BestTC.getEditDistance() == 0 || in CorrectTypo()
5437 BestTC.getCorrection().getAsString() != "super") in CorrectTypo()
[all …]