Lines Matching refs:IndexResult
187 const Symbol *IndexResult = nullptr; member
216 if (IndexResult) { in overloadSet()
217 switch (IndexResult->SymInfo.Kind) { in overloadSet()
230 (IndexResult->Scope + IndexResult->Name).toStringRef(Scratch), in overloadSet()
331 if (C.IndexResult) { in CodeCompletionBuilder()
332 Completion.Origin |= C.IndexResult->Origin; in CodeCompletionBuilder()
334 Completion.Scope = std::string(C.IndexResult->Scope); in CodeCompletionBuilder()
336 Completion.Kind = toCompletionItemKind(C.IndexResult->SymInfo.Kind); in CodeCompletionBuilder()
338 Completion.Name = std::string(C.IndexResult->Name); in CodeCompletionBuilder()
344 llvm::StringRef ShortestQualifier = C.IndexResult->Scope; in CodeCompletionBuilder()
346 llvm::StringRef Qualifier = C.IndexResult->Scope; in CodeCompletionBuilder()
365 URI::resolve(C.IndexResult->CanonicalDeclaration.FileURI, FileName); in CodeCompletionBuilder()
390 C.IndexResult->CanonicalDeclaration.FileURI, Inc, FileName, in CodeCompletionBuilder()
410 } else if (C.IndexResult) { in add()
411 S.Signature = std::string(C.IndexResult->Signature); in add()
412 S.SnippetSuffix = std::string(C.IndexResult->CompletionSnippetSuffix); in add()
413 S.ReturnType = std::string(C.IndexResult->ReturnType); in add()
422 if (C.IndexResult) { in add()
423 SetDoc(C.IndexResult->Documentation); in add()
434 if (C.IndexResult) in add()
436 bool(C.IndexResult->Flags & Symbol::Deprecated); in add()
1741 const Symbol *IndexResult, in mergeResults()
1745 C.IndexResult = IndexResult; in mergeResults()
1747 if (C.IndexResult) { in mergeResults()
1748 C.Name = IndexResult->Name; in mergeResults()
1749 C.RankedIncludeHeaders = getRankedIncludes(*C.IndexResult); in mergeResults()
1784 for (const auto &IndexResult : IndexResults) { in mergeResults() local
1785 if (UsedIndexResults.count(&IndexResult)) in mergeResults()
1787 AddToBundles(/*SemaResult=*/nullptr, &IndexResult, nullptr); in mergeResults()
1804 (C.IndexResult && in fuzzyScore()
1805 C.IndexResult->SymInfo.Kind == index::SymbolKind::Macro)) && in fuzzyScore()
1865 if (Candidate.IndexResult) { in addCandidate()
1866 Quality.merge(*Candidate.IndexResult); in addCandidate()
1867 Relevance.merge(*Candidate.IndexResult); in addCandidate()
1868 Origin |= Candidate.IndexResult->Origin; in addCandidate()
1870 if (!Candidate.IndexResult->Type.empty()) in addCandidate()
1873 PreferredType->raw() == Candidate.IndexResult->Type) { in addCandidate()