Searched refs:MaxEditDistance (Results 1 – 6 of 6) sorted by relevance
45 unsigned MaxEditDistance = 0) {88 if (MaxEditDistance && BestThisRow > MaxEditDistance)89 return MaxEditDistance + 1;
184 unsigned MaxEditDistance = 0) const;
54 const unsigned MaxEditDistance = 1; in getTypoCorrectCommandInfo() local56 unsigned BestEditDistance = MaxEditDistance; in getTypoCorrectCommandInfo()
956 const unsigned MaxEditDistance; member in clang::comments::__anonf4a792230211::SimpleTypoCorrector965 Typo(Typo), MaxEditDistance((Typo.size() + 2) / 3), in SimpleTypoCorrector()966 BestDecl(nullptr), BestEditDistance(MaxEditDistance + 1), in SimpleTypoCorrector()973 if (BestEditDistance > MaxEditDistance) in getBestDecl()998 unsigned EditDistance = Typo.edit_distance(Name, true, MaxEditDistance); in addDecl()
106 unsigned MaxEditDistance) const { in edit_distance()110 AllowReplacements, MaxEditDistance); in edit_distance()
2418 const unsigned MaxEditDistance = 1; in HelperSelectorsForTypoCorrection() local2419 unsigned BestEditDistance = MaxEditDistance + 1; in HelperSelectorsForTypoCorrection()2426 unsigned EditDistance = Typo.edit_distance(MethodName, true, MaxEditDistance); in HelperSelectorsForTypoCorrection()2427 if (EditDistance > MaxEditDistance) in HelperSelectorsForTypoCorrection()