Lines Matching defs:SymbolRelevanceSignals
87 struct SymbolRelevanceSignals { struct
89 llvm::StringRef Name;
91 float NameMatch = 1;
93 llvm::StringSet<>* ContextWords = nullptr;
94 bool Forbidden = false; // Unavailable (e.g const) or inaccessible (private).
96 bool NeedsFixIts = false;
97 bool InBaseClass = false; // A member from base class of the accessed class.
99 URIDistance *FileProximityMatch = nullptr;
102 llvm::StringRef SymbolURI;
106 float SemaFileProximityScore = 0;
109 ScopeDistance *ScopeProximityMatch = nullptr;
110 llvm::Optional<llvm::StringRef> SymbolScope;
112 bool SemaSaysInScope = false;
115 enum AccessibleScope {
120 } Scope = GlobalScope;
122 enum QueryType {
125 } Query = Generic;
127 CodeCompletionContext::Kind Context = CodeCompletionContext::CCC_Other;
130 bool IsInstanceMember = false;
133 bool HadContextType = false;
135 bool HadSymbolType = false;
137 bool TypeMatchesPreferred = false;
163 const SymbolRelevanceSignals &); argument