• Home
  • Raw
  • Download

Lines Matching refs:SemaResult

169   const CodeCompletionResult *SemaResult = nullptr;  member
213 if (SemaResult) { in overloadSet()
215 const NamedDecl *D = SemaResult->Declaration; in overloadSet()
234 if (SemaResult && SemaResult->Declaration) { in headerToInsertIfAllowed()
237 auto &SM = SemaResult->Declaration->getASTContext().getSourceManager(); in headerToInsertIfAllowed()
238 for (const Decl *RD : SemaResult->Declaration->redecls()) in headerToInsertIfAllowed()
278 if (C.SemaResult) { in CodeCompletionBuilder()
283 if ((C.SemaResult->Kind == CodeCompletionResult::RK_Declaration) || in CodeCompletionBuilder()
284 (C.SemaResult->Kind == CodeCompletionResult::RK_Pattern)) in CodeCompletionBuilder()
285 if (const auto *D = C.SemaResult->getDeclaration()) in CodeCompletionBuilder()
291 C.SemaResult->Kind, C.SemaResult->Declaration, ContextKind); in CodeCompletionBuilder()
297 for (const auto &FixIt : C.SemaResult->FixIts) { in CodeCompletionBuilder()
306 (C.SemaResult->Availability == CXAvailability_Deprecated); in CodeCompletionBuilder()
318 if (Completion.RequiredQualifier.empty() && !C.SemaResult) { in CodeCompletionBuilder()
377 assert(bool(C.SemaResult) == bool(SemaCCS)); in add()
380 if (C.SemaResult) { in add()
381 bool IsPattern = C.SemaResult->Kind == CodeCompletionResult::RK_Pattern; in add()
399 } else if (C.SemaResult) { in add()
400 SetDoc(getDocComment(*ASTCtx, *C.SemaResult, in add()
1569 auto AddToBundles = [&](const CodeCompletionResult *SemaResult, in mergeResults()
1573 C.SemaResult = SemaResult; in mergeResults()
1579 } else if (C.SemaResult) { in mergeResults()
1580 C.Name = Recorder->getName(*SemaResult); in mergeResults()
1598 [&](const CodeCompletionResult &SemaResult) -> const Symbol * { in mergeResults() argument
1600 getSymbolID(SemaResult, Recorder->CCSema->getSourceManager())) { in mergeResults()
1610 for (auto &SemaResult : SemaResults) in mergeResults() local
1611 AddToBundles(&SemaResult, CorrespondingIndexResult(SemaResult), nullptr); in mergeResults()
1631 if (((C.SemaResult && in fuzzyScore()
1632 C.SemaResult->Kind == CodeCompletionResult::RK_Macro) || in fuzzyScore()
1704 if (Candidate.SemaResult) { in addCandidate()
1705 Quality.merge(*Candidate.SemaResult); in addCandidate()
1706 Relevance.merge(*Candidate.SemaResult); in addCandidate()
1709 Recorder->CCSema->getASTContext(), *Candidate.SemaResult)) { in addCandidate()
1745 Item.SemaResult ? Recorder->codeCompletionString(*Item.SemaResult) in toCodeCompletion()