clang-tools
7.0.0
|
#include "clang/Sema/CodeCompleteConsumer.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringRef.h"
#include <algorithm>
#include <functional>
#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... | |
class | clang::clangd::TopN< T, Compare > |
TopN<T> is a lossy container that preserves only the "best" N elements. More... | |
Namespaces | |
llvm | |
Some operations such as code completion produce a set of candidates. | |
clang | |
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===// | |
clang::clangd | |
Functions | |
llvm::raw_ostream & | clang::clangd::operator<< (llvm::raw_ostream &, const SymbolQualitySignals &) |
llvm::raw_ostream & | clang::clangd::operator<< (llvm::raw_ostream &, const SymbolRelevanceSignals &) |
float | clang::clangd::evaluateSymbolAndRelevance (float SymbolQuality, float SymbolRelevance) |
Combine symbol quality and relevance into a single score. More... | |
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... | |