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()
957 unsigned BestEditDistance; member in clang::comments::__anone984b1d70211::SimpleTypoCorrector964 BestDecl(nullptr), BestEditDistance(MaxEditDistance + 1), in SimpleTypoCorrector()971 if (BestEditDistance > MaxEditDistance) in getBestDecl()997 if (EditDistance < BestEditDistance) { in addDecl()998 BestEditDistance = EditDistance; in addDecl()
1571 unsigned BestEditDistance = (std::numeric_limits<unsigned>::max)(); in loadModule() local1578 BestEditDistance); in loadModule()1579 if (ED <= BestEditDistance) { in loadModule()1580 if (ED < BestEditDistance) { in loadModule()1582 BestEditDistance = ED; in loadModule()
3553 unsigned BestEditDistance = MaxEditDistance + 1; in HelperSelectorsForTypoCorrection() local3563 if (EditDistance == BestEditDistance) in HelperSelectorsForTypoCorrection()3565 else if (EditDistance < BestEditDistance) { in HelperSelectorsForTypoCorrection()