Searched refs:MaxEditDistance (Results 1 – 6 of 6) sorted by relevance
45 unsigned MaxEditDistance = 0) {88 if (MaxEditDistance && BestThisRow > MaxEditDistance)89 return MaxEditDistance + 1;
185 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::__anon5185a10c0211::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()
2473 const unsigned MaxEditDistance = 1; in HelperSelectorsForTypoCorrection() local2474 unsigned BestEditDistance = MaxEditDistance + 1; in HelperSelectorsForTypoCorrection()2481 unsigned EditDistance = Typo.edit_distance(MethodName, true, MaxEditDistance); in HelperSelectorsForTypoCorrection()2482 if (EditDistance > MaxEditDistance) in HelperSelectorsForTypoCorrection()