Lines Matching refs:SemaCCResult
184 void SymbolQualitySignals::merge(const CodeCompletionResult &SemaCCResult) { in merge() argument
185 Deprecated |= (SemaCCResult.Availability == CXAvailability_Deprecated); in merge()
186 Category = categorize(SemaCCResult); in merge()
188 if (SemaCCResult.Declaration) { in merge()
189 ImplementationDetail |= isImplementationDetail(SemaCCResult.Declaration); in merge()
190 if (auto *ID = SemaCCResult.Declaration->getIdentifier()) in merge()
192 } else if (SemaCCResult.Kind == CodeCompletionResult::RK_Macro) in merge()
193 ReservedName = ReservedName || isReserved(SemaCCResult.Macro->getName()); in merge()
299 void SymbolRelevanceSignals::merge(const CodeCompletionResult &SemaCCResult) { in merge() argument
300 if (SemaCCResult.Availability == CXAvailability_NotAvailable || in merge()
301 SemaCCResult.Availability == CXAvailability_NotAccessible) in merge()
304 if (SemaCCResult.Declaration) { in merge()
309 float DeclProximity = (hasDeclInMainFile(*SemaCCResult.Declaration) || in merge()
310 hasUsingDeclInMainFile(SemaCCResult)) in merge()
314 IsInstanceMember |= isInstanceMember(SemaCCResult.Declaration); in merge()
315 InBaseClass |= SemaCCResult.InBaseClass; in merge()
319 if (SemaCCResult.Declaration) in merge()
320 Scope = std::min(Scope, computeScope(SemaCCResult.Declaration)); in merge()
322 NeedsFixIts = !SemaCCResult.FixIts.empty(); in merge()