• Home
  • Raw
  • Download

Lines Matching refs:IndexResult

170   const Symbol *IndexResult = nullptr;  member
193 if (IndexResult) { in overloadSet()
194 switch (IndexResult->SymInfo.Kind) { in overloadSet()
207 (IndexResult->Scope + IndexResult->Name).toStringRef(Scratch), in overloadSet()
308 if (C.IndexResult) { in CodeCompletionBuilder()
309 Completion.Origin |= C.IndexResult->Origin; in CodeCompletionBuilder()
311 Completion.Scope = std::string(C.IndexResult->Scope); in CodeCompletionBuilder()
313 Completion.Kind = toCompletionItemKind(C.IndexResult->SymInfo.Kind); in CodeCompletionBuilder()
315 Completion.Name = std::string(C.IndexResult->Name); in CodeCompletionBuilder()
319 llvm::StringRef ShortestQualifier = C.IndexResult->Scope; in CodeCompletionBuilder()
321 llvm::StringRef Qualifier = C.IndexResult->Scope; in CodeCompletionBuilder()
328 Completion.Deprecated |= (C.IndexResult->Flags & Symbol::Deprecated); in CodeCompletionBuilder()
340 URI::resolve(C.IndexResult->CanonicalDeclaration.FileURI, FileName); in CodeCompletionBuilder()
365 C.IndexResult->CanonicalDeclaration.FileURI, Inc, FileName, in CodeCompletionBuilder()
385 } else if (C.IndexResult) { in add()
386 S.Signature = std::string(C.IndexResult->Signature); in add()
387 S.SnippetSuffix = std::string(C.IndexResult->CompletionSnippetSuffix); in add()
388 S.ReturnType = std::string(C.IndexResult->ReturnType); in add()
397 if (C.IndexResult) { in add()
398 SetDoc(C.IndexResult->Documentation); in add()
1570 const Symbol *IndexResult, in mergeResults()
1574 C.IndexResult = IndexResult; in mergeResults()
1576 if (C.IndexResult) { in mergeResults()
1577 C.Name = IndexResult->Name; in mergeResults()
1578 C.RankedIncludeHeaders = getRankedIncludes(*C.IndexResult); in mergeResults()
1613 for (const auto &IndexResult : IndexResults) { in mergeResults() local
1614 if (UsedIndexResults.count(&IndexResult)) in mergeResults()
1616 AddToBundles(/*SemaResult=*/nullptr, &IndexResult, nullptr); in mergeResults()
1633 (C.IndexResult && in fuzzyScore()
1634 C.IndexResult->SymInfo.Kind == index::SymbolKind::Macro)) && in fuzzyScore()
1692 if (Candidate.IndexResult) { in addCandidate()
1693 Quality.merge(*Candidate.IndexResult); in addCandidate()
1694 Relevance.merge(*Candidate.IndexResult); in addCandidate()
1695 Origin |= Candidate.IndexResult->Origin; in addCandidate()
1697 if (!Candidate.IndexResult->Type.empty()) in addCandidate()
1700 PreferredType->raw() == Candidate.IndexResult->Type) { in addCandidate()