Home
last modified time | relevance | path

Searched refs:BestEditDistance (Results 1 – 8 of 8) sorted by relevance

/external/clang/lib/AST/
DCommentCommandTraits.cpp56 unsigned BestEditDistance = MaxEditDistance; in getTypoCorrectCommandInfo() local
63 if (MinPossibleEditDistance <= BestEditDistance) { in getTypoCorrectCommandInfo()
64 unsigned EditDistance = Typo.edit_distance(Name, true, BestEditDistance); in getTypoCorrectCommandInfo()
65 if (EditDistance < BestEditDistance) { in getTypoCorrectCommandInfo()
66 BestEditDistance = EditDistance; in getTypoCorrectCommandInfo()
69 if (EditDistance == BestEditDistance) in getTypoCorrectCommandInfo()
DCommentSema.cpp957 unsigned BestEditDistance; member in clang::comments::__anon5185a10c0211::SimpleTypoCorrector
964 BestDecl(nullptr), BestEditDistance(MaxEditDistance + 1), in SimpleTypoCorrector()
971 if (BestEditDistance > MaxEditDistance) in getBestDecl()
997 if (EditDistance < BestEditDistance) { in addDecl()
998 BestEditDistance = EditDistance; in addDecl()
/external/llvm-project/clang/lib/AST/
DCommentCommandTraits.cpp56 unsigned BestEditDistance = MaxEditDistance; in getTypoCorrectCommandInfo() local
63 if (MinPossibleEditDistance <= BestEditDistance) { in getTypoCorrectCommandInfo()
64 unsigned EditDistance = Typo.edit_distance(Name, true, BestEditDistance); in getTypoCorrectCommandInfo()
65 if (EditDistance < BestEditDistance) { in getTypoCorrectCommandInfo()
66 BestEditDistance = EditDistance; in getTypoCorrectCommandInfo()
69 if (EditDistance == BestEditDistance) in getTypoCorrectCommandInfo()
DCommentSema.cpp1052 unsigned BestEditDistance; member in clang::comments::__anon216bdd1a0211::SimpleTypoCorrector
1059 BestEditDistance(MaxEditDistance + 1), BestIndex(0), NextIndex(0) {} in SimpleTypoCorrector()
1064 if (BestEditDistance > MaxEditDistance) in getBestDecl()
1090 if (EditDistance < BestEditDistance) { in addDecl()
1091 BestEditDistance = EditDistance; in addDecl()
/external/clang/lib/Frontend/
DCompilerInstance.cpp1571 unsigned BestEditDistance = (std::numeric_limits<unsigned>::max)(); in loadModule() local
1578 BestEditDistance); in loadModule()
1579 if (ED <= BestEditDistance) { in loadModule()
1580 if (ED < BestEditDistance) { in loadModule()
1582 BestEditDistance = ED; in loadModule()
/external/llvm-project/clang/lib/Frontend/
DCompilerInstance.cpp1970 unsigned BestEditDistance = (std::numeric_limits<unsigned>::max)(); in loadModule() local
1977 BestEditDistance); in loadModule()
1978 if (ED <= BestEditDistance) { in loadModule()
1979 if (ED < BestEditDistance) { in loadModule()
1981 BestEditDistance = ED; in loadModule()
/external/clang/lib/Sema/
DSemaDeclObjC.cpp3553 unsigned BestEditDistance = MaxEditDistance + 1; in HelperSelectorsForTypoCorrection() local
3563 if (EditDistance == BestEditDistance) in HelperSelectorsForTypoCorrection()
3565 else if (EditDistance < BestEditDistance) { in HelperSelectorsForTypoCorrection()
/external/llvm-project/clang/lib/Sema/
DSemaDeclObjC.cpp3661 unsigned BestEditDistance = MaxEditDistance + 1; in HelperSelectorsForTypoCorrection() local
3671 if (EditDistance == BestEditDistance) in HelperSelectorsForTypoCorrection()
3673 else if (EditDistance < BestEditDistance) { in HelperSelectorsForTypoCorrection()