Home
last modified time | relevance | path

Searched refs:SymbolRelevanceSignals (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/unittests/
DQualityTests.cpp119 SymbolRelevanceSignals Relevance; in TEST()
123 EXPECT_EQ(Relevance.NameMatch, SymbolRelevanceSignals().NameMatch); in TEST()
125 EXPECT_EQ(Relevance.Scope, SymbolRelevanceSignals::GlobalScope); in TEST()
163 EXPECT_EQ(Relevance.Scope, SymbolRelevanceSignals::FileScope); in TEST()
166 EXPECT_EQ(Relevance.Scope, SymbolRelevanceSignals::ClassScope); in TEST()
169 EXPECT_EQ(Relevance.Scope, SymbolRelevanceSignals::FunctionScope); in TEST()
173 EXPECT_EQ(Relevance.Scope, SymbolRelevanceSignals::GlobalScope); in TEST()
191 EXPECT_EQ(Relevance.Scope, SymbolRelevanceSignals::FileScope); in TEST()
240 SymbolRelevanceSignals Default; in TEST()
243 SymbolRelevanceSignals Forbidden; in TEST()
[all …]
DCodeCompleteTests.cpp202 const SymbolRelevanceSignals &, float Base) { in TEST() argument
1108 const SymbolRelevanceSignals &, in TEST()
/external/llvm-project/clang-tools-extra/clangd/
DQuality.cpp265 static SymbolRelevanceSignals::AccessibleScope
278 return SymbolRelevanceSignals::FunctionScope; in computeScope()
282 return SymbolRelevanceSignals::ClassScope; in computeScope()
286 return SymbolRelevanceSignals::FileScope; in computeScope()
287 return SymbolRelevanceSignals::GlobalScope; in computeScope()
290 void SymbolRelevanceSignals::merge(const Symbol &IndexResult) { in merge()
299 void SymbolRelevanceSignals::merge(const CodeCompletionResult &SemaCCResult) { in merge()
353 SymbolRelevanceSignals::DerivedSignals
354 SymbolRelevanceSignals::calculateDerivedSignals() const { in calculateDerivedSignals()
368 float SymbolRelevanceSignals::evaluateHeuristics() const { in evaluateHeuristics()
[all …]
DQuality.h87 struct SymbolRelevanceSignals { struct
163 const SymbolRelevanceSignals &); argument
178 const SymbolRelevanceSignals &Relevance, float Base);
DCodeComplete.h148 const SymbolRelevanceSignals &, float Score)>
162 const SymbolQualitySignals &, const SymbolRelevanceSignals &, float Base)>
DFindSymbols.cpp136 SymbolRelevanceSignals Relevance; in getWorkspaceSymbols()
138 Relevance.Query = SymbolRelevanceSignals::Generic; in getWorkspaceSymbols()
DCodeComplete.cpp1642 const SymbolRelevanceSignals &Relevance) { in evaluateCompletion()
1672 SymbolRelevanceSignals Relevance; in addCandidate()
1676 Relevance.Query = SymbolRelevanceSignals::CodeComplete; in addCandidate()
1719 Relevance.Scope = SymbolRelevanceSignals::FileScope; in addCandidate()
DXRefs.cpp527 SymbolRelevanceSignals Relevance; in locateSymbolTextually()
529 Relevance.Query = SymbolRelevanceSignals::Generic; in locateSymbolTextually()
/external/llvm-project/clang-tools-extra/clangd/index/dex/
DDex.cpp150 SymbolRelevanceSignals PathProximitySignals; in createFileProximityIterator()
175 SymbolRelevanceSignals PreferredTypeSignals; in createTypeBoostingIterator()