Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DStringRef.cpp73 unsigned MaxEditDistance) { in edit_distance() argument
115 if (MaxEditDistance && BestThisRow > MaxEditDistance) in edit_distance()
116 return MaxEditDistance + 1; in edit_distance()
/external/clang/lib/Sema/
DSemaLookup.cpp3001 unsigned MaxEditDistance; member in __anon9853ef940411::TypoCorrectionConsumer
3008 MaxEditDistance((std::numeric_limits<unsigned>::max)()), in TypoCorrectionConsumer()
3039 return MaxEditDistance; in getMaxEditDistance()
3043 return (BestResults.empty()) ? MaxEditDistance : BestResults.begin()->first; in getBestEditDistance()
3069 if (MinED > MaxEditDistance || (MinED && Typo.size() / MinED < 3)) in FoundName()
3075 std::min(unsigned((Typo.size() + 2) / 3), MaxEditDistance); in FoundName()
3082 if (ED > MaxEditDistance) { in FoundName()
3096 if (ED > MaxEditDistance) { in addKeywordResult()
/external/llvm/include/llvm/ADT/
DStringRef.h167 unsigned MaxEditDistance = 0);