Lines Matching defs:IndexResult

220   const Symbol *IndexResult = nullptr;
250 if (IndexResult) {
251 switch (IndexResult->SymInfo.Kind) {
264 (IndexResult->Scope + IndexResult->Name).toStringRef(Scratch),
271 // We need to make sure we're consistent with the IndexResult case!
386 if (C.IndexResult) {
387 Completion.Origin |= C.IndexResult->Origin;
389 Completion.Scope = std::string(C.IndexResult->Scope);
391 Completion.Kind = toCompletionItemKind(C.IndexResult->SymInfo.Kind,
392 &C.IndexResult->Signature);
394 Completion.Name = std::string(C.IndexResult->Name);
400 llvm::StringRef ShortestQualifier = C.IndexResult->Scope;
402 llvm::StringRef Qualifier = C.IndexResult->Scope;
421 URI::resolve(C.IndexResult->CanonicalDeclaration.FileURI, FileName);
454 C.IndexResult->CanonicalDeclaration.FileURI, Inc.Header, FileName,
481 } else if (C.IndexResult) {
482 S.Signature = std::string(C.IndexResult->Signature);
483 S.SnippetSuffix = std::string(C.IndexResult->CompletionSnippetSuffix);
484 S.ReturnType = std::string(C.IndexResult->ReturnType);
485 if (C.IndexResult->SymInfo.Kind == index::SymbolKind::Concept)
506 if (C.IndexResult) {
507 SetDoc(C.IndexResult->Documentation);
518 if (C.IndexResult)
520 bool(C.IndexResult->Flags & Symbol::Deprecated);
1961 const Symbol *IndexResult,
1965 C.IndexResult = IndexResult;
1967 if (C.IndexResult) {
1968 C.Name = IndexResult->Name;
1969 C.RankedIncludeHeaders = getRankedIncludes(*C.IndexResult);
2004 for (const auto &IndexResult : IndexResults) {
2005 if (UsedIndexResults.count(&IndexResult))
2007 if (!includeSymbolFromIndex(CCContextKind, IndexResult))
2009 AddToBundles(/*SemaResult=*/nullptr, &IndexResult, nullptr);
2013 AddToBundles(/*SemaResult=*/nullptr, /*IndexResult=*/nullptr, &Ident);
2026 (C.IndexResult &&
2027 C.IndexResult->SymInfo.Kind == index::SymbolKind::Macro)) &&
2087 if (Candidate.IndexResult) {
2088 Quality.merge(*Candidate.IndexResult);
2089 Relevance.merge(*Candidate.IndexResult);
2090 Origin |= Candidate.IndexResult->Origin;
2092 if (!Candidate.IndexResult->Type.empty())
2095 PreferredType->raw() == Candidate.IndexResult->Type) {