clang-tools  15.0.0git
Classes | Namespaces | Functions
Quality.h File Reference
#include "FileDistance.h"
#include "clang/Sema/CodeCompleteConsumer.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/StringSet.h"
#include <algorithm>
#include <functional>
#include <vector>
Include dependency graph for Quality.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


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


 Some operations such as code completion produce a set of candidates.
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//


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. More...
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. More...
llvm::raw_ostream & clang::clangd::operator<< (llvm::raw_ostream &OS, const SignatureQualitySignals &S)