Searched refs:BestEditDistance (Results 1 – 4 of 4) sorted by relevance
56 unsigned BestEditDistance = MaxEditDistance; in getTypoCorrectCommandInfo() local63 if (MinPossibleEditDistance <= BestEditDistance) { in getTypoCorrectCommandInfo()64 unsigned EditDistance = Typo.edit_distance(Name, true, BestEditDistance); in getTypoCorrectCommandInfo()65 if (EditDistance < BestEditDistance) { in getTypoCorrectCommandInfo()66 BestEditDistance = EditDistance; in getTypoCorrectCommandInfo()69 if (EditDistance == BestEditDistance) in getTypoCorrectCommandInfo()
959 unsigned BestEditDistance; member in clang::comments::__anon8964b2ac0211::SimpleTypoCorrector966 BestDecl(nullptr), BestEditDistance(MaxEditDistance + 1), in SimpleTypoCorrector()973 if (BestEditDistance > MaxEditDistance) in getBestDecl()999 if (EditDistance < BestEditDistance) { in addDecl()1000 BestEditDistance = EditDistance; in addDecl()
1546 unsigned BestEditDistance = (std::numeric_limits<unsigned>::max)(); in loadModule() local1553 BestEditDistance); in loadModule()1554 if (ED <= BestEditDistance) { in loadModule()1555 if (ED < BestEditDistance) { in loadModule()1557 BestEditDistance = ED; in loadModule()
2474 unsigned BestEditDistance = MaxEditDistance + 1; in HelperSelectorsForTypoCorrection() local2484 if (EditDistance == BestEditDistance) in HelperSelectorsForTypoCorrection()2486 else if (EditDistance < BestEditDistance) { in HelperSelectorsForTypoCorrection()