reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/tools/extra/clangd/FuzzyMatch.cpp
  222   for (int P = 0; P < PatN; ++P) {
  222   for (int P = 0; P < PatN; ++P) {
  223     for (int W = P; W < WordN; ++W) {
  224       auto &Score = Scores[P + 1][W + 1], &PreMiss = Scores[P + 1][W];
  224       auto &Score = Scores[P + 1][W + 1], &PreMiss = Scores[P + 1][W];
  228       if (P < PatN - 1) { // Skipping trailing characters is always free.
  236       auto &PreMatch = Scores[P][W];
  238           allowMatch(P, W, Match)
  239               ? PreMatch[Match].Score + matchBonus(P, W, Match)
  241       auto MissMatchScore = allowMatch(P, W, Miss)
  242                                 ? PreMatch[Miss].Score + matchBonus(P, W, Miss)