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) {
93 if (MaxEditDistance && BestThisRow > MaxEditDistance)
94 return MaxEditDistance + 1;
DStringRef.h194 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::__anonfe0d10110211::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.cpp3404 const unsigned MaxEditDistance = 1; in HelperSelectorsForTypoCorrection() local
3405 unsigned BestEditDistance = MaxEditDistance + 1; in HelperSelectorsForTypoCorrection()
3412 unsigned EditDistance = Typo.edit_distance(MethodName, true, MaxEditDistance); in HelperSelectorsForTypoCorrection()
3413 if (EditDistance > MaxEditDistance) in HelperSelectorsForTypoCorrection()