|
clang-tools 22.0.0git
|
#include "FileDistance.h"#include "clang/Sema/CodeCompleteConsumer.h"#include "llvm/ADT/StringRef.h"#include "llvm/ADT/StringSet.h"#include <algorithm>#include <functional>#include <optional>#include <vector>Go to the source code of this file.
Classes | |
| struct | clang::clangd::SymbolQualitySignals |
| Attributes of a symbol that affect how much we like it. More... | |
| struct | clang::clangd::SymbolRelevanceSignals |
| Attributes of a symbol-query pair that affect how much we like it. More... | |
| struct | clang::clangd::SymbolRelevanceSignals::DerivedSignals |
| Set of derived signals computed by calculateDerivedSignals(). More... | |
| struct | clang::clangd::DecisionForestScores |
| Same semantics as CodeComplete::Score. More... | |
| class | clang::clangd::TopN< T, Compare > |
| TopN<T> is a lossy container that preserves only the "best" N elements. More... | |
| struct | clang::clangd::SignatureQualitySignals |
Namespaces | |
| namespace | llvm |
| Some operations such as code completion produce a set of candidates. | |
| namespace | clang |
| ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===// | |
| namespace | clang::clangd |
| FIXME: Skip testing on windows temporarily due to the different escaping code mode. | |
Functions | |
| llvm::raw_ostream & | clang::clangd::operator<< (llvm::raw_ostream &OS, const SymbolQualitySignals &S) |
| llvm::raw_ostream & | clang::clangd::operator<< (llvm::raw_ostream &OS, const SymbolRelevanceSignals &S) |
| float | clang::clangd::evaluateSymbolAndRelevance (float SymbolQuality, float SymbolRelevance) |
| Combine symbol quality and relevance into a single score. | |
| DecisionForestScores | clang::clangd::evaluateDecisionForest (const SymbolQualitySignals &Quality, const SymbolRelevanceSignals &Relevance, float Base) |
| std::string | clang::clangd::sortText (float Score, llvm::StringRef Tiebreak="") |
| Returns a string that sorts in the same order as (-Score, Tiebreak), for LSP. | |
| llvm::raw_ostream & | clang::clangd::operator<< (llvm::raw_ostream &OS, const SignatureQualitySignals &S) |