Home
last modified time | relevance | path

Searched refs:MinPossibleEditDistance (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSimpleTypoCorrection.cpp25 unsigned MinPossibleEditDistance = in add() local
28 if (MinPossibleEditDistance > 0 && Typo.size() / MinPossibleEditDistance < 3) in add()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DCommentCommandTraits.cpp61 unsigned MinPossibleEditDistance = abs((int)Name.size() - (int)Typo.size()); in getTypoCorrectCommandInfo() local
62 if (MinPossibleEditDistance <= BestEditDistance) { in getTypoCorrectCommandInfo()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp3684 unsigned MinPossibleEditDistance = abs((int)MethodName.size() - (int)Typo.size()); in HelperSelectorsForTypoCorrection() local
3685 if (MinPossibleEditDistance > 0 && in HelperSelectorsForTypoCorrection()
3686 Typo.size() / MinPossibleEditDistance < 1) in HelperSelectorsForTypoCorrection()