Searched refs:MaxEditDistance (Results 1 – 6 of 6) sorted by relevance
45 unsigned MaxEditDistance = 0) {93 if (MaxEditDistance && BestThisRow > MaxEditDistance)94 return MaxEditDistance + 1;
194 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::__anonfe0d10110211::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()
3404 const unsigned MaxEditDistance = 1; in HelperSelectorsForTypoCorrection() local3405 unsigned BestEditDistance = MaxEditDistance + 1; in HelperSelectorsForTypoCorrection()3412 unsigned EditDistance = Typo.edit_distance(MethodName, true, MaxEditDistance); in HelperSelectorsForTypoCorrection()3413 if (EditDistance > MaxEditDistance) in HelperSelectorsForTypoCorrection()