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

References

tools/clang/tools/extra/clangd/FuzzyMatch.cpp
  310   OS << "=== Match \"" << llvm::StringRef(Word, WordN) << "\" against ["
  313     OS << "Pattern is empty: perfect match.\n";
  317     OS << "Word is empty: no match.\n";
  321     OS << "Substring check failed.\n";
  325     OS << "Substring check passed, but all matches are forbidden\n";
  328     OS << "Lowercase query, so scoring ignores case\n";
  359     OS << " " << C << " ";
  360   OS << "\n";
  362     OS << " " << (A[I] == Match ? Pat[J++] : ' ') << " ";
  363   OS << "\n";
  365     OS << llvm::format("%2d ", S[I]);
  366   OS << "\n";
  368   OS << "\nSegmentation:";
  369   OS << "\n'" << llvm::StringRef(Word, WordN) << "'\n ";
  371     OS << "?-+ "[static_cast<int>(WordRole[I])];
  372   OS << "\n[" << llvm::StringRef(Pat, PatN) << "]\n ";
  374     OS << "?-+ "[static_cast<int>(PatRole[I])];
  375   OS << "\n";
  377   OS << "\nScoring table (last-Miss, last-Match):\n";
  378   OS << " |    ";
  380     OS << "  " << C << " ";
  381   OS << "\n";
  382   OS << "-+----" << std::string(WordN * 4, '-') << "\n";
  385       OS << ((I && A == Miss) ? Pat[I - 1] : ' ') << "|";
  388           OS << llvm::format("%3d%c", Scores[I][J][A].Score,
  391           OS << "    ";
  393       OS << "\n";