clang-tools 20.0.0git
|
Attributes of a symbol that affect how much we like it. More...
#include <Quality.h>
Public Types | |
enum | SymbolCategory { Unknown = 0 , Variable , Macro , Type , Function , Constructor , Destructor , Namespace , Keyword , Operator } |
Public Member Functions | |
void | merge (const CodeCompletionResult &SemaCCResult) |
void | merge (const Symbol &IndexResult) |
float | evaluateHeuristics () const |
Public Attributes | |
bool | Deprecated = false |
bool | ReservedName = false |
bool | ImplementationDetail = false |
unsigned | References = 0 |
enum clang::clangd::SymbolQualitySignals::SymbolCategory | Category = Unknown |
float clang::clangd::SymbolQualitySignals::evaluateHeuristics | ( | ) | const |
Definition at line 196 of file Quality.cpp.
References Category, Constructor, Deprecated, Destructor, Function, ImplementationDetail, Keyword, Macro, Namespace, Operator, References, ReservedName, Score, Type, Unknown, and Variable.
void clang::clangd::SymbolQualitySignals::merge | ( | const CodeCompletionResult & | SemaCCResult | ) |
Definition at line 175 of file Quality.cpp.
References clang::clangd::categorize(), Category, Deprecated, ID, ImplementationDetail, clang::clangd::isImplementationDetail(), clang::clangd::isReservedName(), and ReservedName.
void clang::clangd::SymbolQualitySignals::merge | ( | const Symbol & | IndexResult | ) |
Definition at line 188 of file Quality.cpp.
References clang::clangd::categorize(), Category, clang::clangd::Symbol::Deprecated, Deprecated, clang::clangd::Symbol::ImplementationDetail, ImplementationDetail, IndexResult, clang::clangd::isReservedName(), References, and ReservedName.
enum clang::clangd::SymbolQualitySignals::SymbolCategory clang::clangd::SymbolQualitySignals::Category = Unknown |
Referenced by evaluateHeuristics(), and merge().
bool clang::clangd::SymbolQualitySignals::Deprecated = false |
Definition at line 57 of file Quality.h.
Referenced by evaluateHeuristics(), and merge().
bool clang::clangd::SymbolQualitySignals::ImplementationDetail = false |
Definition at line 60 of file Quality.h.
Referenced by evaluateHeuristics(), and merge().
unsigned clang::clangd::SymbolQualitySignals::References = 0 |
Definition at line 61 of file Quality.h.
Referenced by evaluateHeuristics(), and merge().
bool clang::clangd::SymbolQualitySignals::ReservedName = false |
Definition at line 58 of file Quality.h.
Referenced by evaluateHeuristics(), and merge().