Home
last modified time | relevance | path

Searched refs:SymbolQualitySignals (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/unittests/
DQualityTests.cpp56 SymbolQualitySignals Quality; in TEST()
61 EXPECT_EQ(Quality.References, SymbolQualitySignals().References); in TEST()
62 EXPECT_EQ(Quality.Category, SymbolQualitySignals::Variable); in TEST()
74 EXPECT_EQ(Quality.Category, SymbolQualitySignals::Function); in TEST()
80 EXPECT_EQ(Quality.References, SymbolQualitySignals().References); in TEST()
81 EXPECT_EQ(Quality.Category, SymbolQualitySignals::Function); in TEST()
85 EXPECT_EQ(Quality.Category, SymbolQualitySignals::Keyword); in TEST()
198 SymbolQualitySignals Default; in TEST()
201 SymbolQualitySignals Deprecated; in TEST()
205 SymbolQualitySignals ReservedName; in TEST()
[all …]
DCodeCompleteTests.cpp201 Opts.DecisionForestScorer = [&](const SymbolQualitySignals &, in TEST()
1107 const SymbolQualitySignals &, in TEST()
/external/llvm-project/clang-tools-extra/clangd/
DQuality.cpp63 static SymbolQualitySignals::SymbolCategory categorize(const NamedDecl &ND) { in categorize()
66 return SymbolQualitySignals::Operator; in categorize()
69 : public ConstDeclVisitor<Switch, SymbolQualitySignals::SymbolCategory> { in categorize()
72 SymbolQualitySignals::SymbolCategory Visit##DeclType(const DeclType *) { \ in categorize()
73 return SymbolQualitySignals::Category; \ in categorize()
92 static SymbolQualitySignals::SymbolCategory
97 return SymbolQualitySignals::Macro; in categorize()
102 return SymbolQualitySignals::Function; in categorize()
104 return SymbolQualitySignals::Namespace; in categorize()
106 return SymbolQualitySignals::Macro; in categorize()
[all …]
DQuality.h57 struct SymbolQualitySignals { struct
84 const SymbolQualitySignals &); argument
177 evaluateDecisionForest(const SymbolQualitySignals &Quality,
DCodeComplete.h147 std::function<void(const CodeCompletion &, const SymbolQualitySignals &,
162 const SymbolQualitySignals &, const SymbolRelevanceSignals &, float Base)>
DFindSymbols.cpp134 SymbolQualitySignals Quality; in getWorkspaceSymbols()
DCodeComplete.cpp1641 evaluateCompletion(const SymbolQualitySignals &Quality, in evaluateCompletion()
1671 SymbolQualitySignals Quality; in addCandidate()
DXRefs.cpp525 SymbolQualitySignals Quality; in locateSymbolTextually()