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

References

tools/clang/tools/extra/clangd/FuzzyMatch.cpp
   82   Scores[0][0][Miss] = {0, Miss};
   83   Scores[0][0][Match] = {AwfulScore, Miss};
   87         Scores[P][W][A] = {AwfulScore, Miss};
   98   auto Best = std::max(Scores[PatN][WordN][Miss].Score,
   99                        Scores[PatN][WordN][Match].Score);
  218     Scores[0][W + 1][Miss] = {Scores[0][W][Miss].Score - skipPenalty(W, Miss),
  218     Scores[0][W + 1][Miss] = {Scores[0][W][Miss].Score - skipPenalty(W, Miss),
  220     Scores[0][W + 1][Match] = {AwfulScore, Miss};
  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];
  236       auto &PreMatch = Scores[P][W];
  323   } else if (isAwful(std::max(Scores[PatN][WordN][Match].Score,
  324                               Scores[PatN][WordN][Miss].Score))) {
  334       (Scores[PatN][WordN][Match].Score > Scores[PatN][WordN][Miss].Score)
  334       (Scores[PatN][WordN][Match].Score > Scores[PatN][WordN][Miss].Score)
  341     const auto &Cell = Scores[P + 1][W + 1][Last];
  344     const auto &Prev = Scores[P + 1][W][Cell.Prev];
  387         if (!isAwful(Scores[I][J][A].Score))
  388           OS << llvm::format("%3d%c", Scores[I][J][A].Score,
  389                              Scores[I][J][A].Prev == Match ? '*' : ' ');