Home
last modified time | relevance | path

Searched refs:MaxEditDistance (Results 1 – 6 of 6) sorted by relevance

/external/llvm/include/llvm/ADT/
Dedit_distance.h45 unsigned MaxEditDistance = 0) {
88 if (MaxEditDistance && BestThisRow > MaxEditDistance)
89 return MaxEditDistance + 1;
DStringRef.h185 unsigned MaxEditDistance = 0) const;
/external/clang/lib/AST/
DCommentCommandTraits.cpp54 const unsigned MaxEditDistance = 1; in getTypoCorrectCommandInfo() local
56 unsigned BestEditDistance = MaxEditDistance; in getTypoCorrectCommandInfo()
DCommentSema.cpp956 const unsigned MaxEditDistance; member in clang::comments::__anon5185a10c0211::SimpleTypoCorrector
965 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()
/external/llvm/lib/Support/
DStringRef.cpp106 unsigned MaxEditDistance) const { in edit_distance()
110 AllowReplacements, MaxEditDistance); in edit_distance()
/external/clang/lib/Sema/
DSemaDeclObjC.cpp2473 const unsigned MaxEditDistance = 1; in HelperSelectorsForTypoCorrection() local
2474 unsigned BestEditDistance = MaxEditDistance + 1; in HelperSelectorsForTypoCorrection()
2481 unsigned EditDistance = Typo.edit_distance(MethodName, true, MaxEditDistance); in HelperSelectorsForTypoCorrection()
2482 if (EditDistance > MaxEditDistance) in HelperSelectorsForTypoCorrection()