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

/freebsd-13-stable/contrib/llvm-project/clang/lib/Basic/
H A DDiagnosticIDs.cpp600 unsigned BestDistance = Group.size() + 1; // Sanity threshold.
606 unsigned Distance = O.getName().edit_distance(Group, true, BestDistance);
607 if (Distance > BestDistance)
615 if (Distance == BestDistance) {
618 } else if (Distance < BestDistance) {
621 BestDistance = Distance;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Option/
H A DOptTable.cpp256 unsigned BestDistance = UINT_MAX; local
303 /*MaxEditDistance=*/BestDistance);
313 if (Distance < BestDistance) {
314 BestDistance = Distance;
319 return BestDistance;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DCommandLine.cpp590 unsigned BestDistance = 0; local
608 Flag, /*AllowReplacements=*/true, /*MaxEditDistance=*/BestDistance);
609 if (!Best || Distance < BestDistance) {
611 BestDistance = Distance;

Completed in 56 milliseconds