Searched refs:BestEditDistance (Results 1 – 5 of 5) 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()
987 unsigned BestEditDistance; member in clang::comments::__anond0a2fb370211::SimpleTypoCorrector994 BestEditDistance(MaxEditDistance + 1), BestIndex(0), NextIndex(0) {} in SimpleTypoCorrector()999 if (BestEditDistance > MaxEditDistance) in getBestDecl()1025 if (EditDistance < BestEditDistance) { in addDecl()1026 BestEditDistance = EditDistance; in addDecl()
2047 unsigned BestEditDistance = (std::numeric_limits<unsigned>::max)(); in loadModule() local2052 /*AllowReplacements=*/true, BestEditDistance); in loadModule()2053 if (ED <= BestEditDistance) { in loadModule()2054 if (ED < BestEditDistance) { in loadModule()2056 BestEditDistance = ED; in loadModule()
3677 unsigned BestEditDistance = MaxEditDistance + 1; in HelperSelectorsForTypoCorrection() local3687 if (EditDistance == BestEditDistance) in HelperSelectorsForTypoCorrection()3689 else if (EditDistance < BestEditDistance) { in HelperSelectorsForTypoCorrection()
1765 unsigned BestEditDistance = 3; in checkAssumptionAttr() local1770 if (EditDistance < BestEditDistance) { in checkAssumptionAttr()1772 BestEditDistance = EditDistance; in checkAssumptionAttr()