Searched refs:CharDistanceWeight (Results 1 - 1 of 1) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DTypoCorrection.h55 static const unsigned CharDistanceWeight = 100U; member in class:clang::TypoCorrection
122 return (ED + CharDistanceWeight / 2) / CharDistanceWeight;
126 /// If Normalized is true, scale the distance down by the CharDistanceWeight
133 CharDistance * CharDistanceWeight +
138 // Half the CharDistanceWeight is added to ED to simulate rounding since

Completed in 67 milliseconds