Lines Matching defs:SymbolRelevanceSignals
86 struct SymbolRelevanceSignals { struct
88 llvm::StringRef Name;
90 float NameMatch = 1;
92 llvm::StringSet<>* ContextWords = nullptr;
93 bool Forbidden = false; // Unavailable (e.g const) or inaccessible (private).
95 bool NeedsFixIts = false;
96 bool InBaseClass = false; // A member from base class of the accessed class.
98 URIDistance *FileProximityMatch = nullptr;
101 llvm::StringRef SymbolURI;
105 float SemaFileProximityScore = 0;
108 ScopeDistance *ScopeProximityMatch = nullptr;
109 std::optional<llvm::StringRef> SymbolScope;
111 bool SemaSaysInScope = false;
114 enum AccessibleScope {
119 } Scope = GlobalScope;
121 enum QueryType {
124 } Query = Generic;
126 CodeCompletionContext::Kind Context = CodeCompletionContext::CCC_Other;
129 bool IsInstanceMember = false;
132 bool HadContextType = false;
134 bool HadSymbolType = false;
136 bool TypeMatchesPreferred = false;
140 unsigned FilterLength = 0;
142 const ASTSignals *MainFileSignals = nullptr;
144 unsigned MainFileRefs = 0;
171 const SymbolRelevanceSignals &); argument