Lines Matching refs:Results
343 // Clear out the previous results.
348 SmallVector<Result, 8> Results;
351 getCodeCompletionTUInfo(), Results);
356 for (unsigned I = 0, N = Results.size(); I != N; ++I) {
357 switch (Results[I].Kind) {
361 CachedResult.Completion = Results[I].CreateCodeCompletionString(*TheSema,
365 CachedResult.ShowInContexts = getDeclShowContexts(Results[I].Declaration,
368 CachedResult.Priority = Results[I].Priority;
369 CachedResult.Kind = Results[I].CursorKind;
370 CachedResult.Availability = Results[I].Availability;
374 QualType UsageType = getDeclUsageType(*Ctx, Results[I].Declaration);
400 IsNestedNameSpecifier && !Results[I].StartsNestedNameSpecifier) {
416 if (isa<NamespaceDecl>(Results[I].Declaration) ||
417 isa<NamespaceAliasDecl>(Results[I].Declaration))
425 Results[I].StartsNestedNameSpecifier = true;
427 = Results[I].CreateCodeCompletionString(*TheSema,
450 = Results
468 CachedResult.Priority = Results[I].Priority;
469 CachedResult.Kind = Results[I].CursorKind;
470 CachedResult.Availability = Results[I].Availability;
2042 // If we're caching global code-completion results, and the top-level
2061 /// results from an ASTUnit with the code-completion results provided to it,
2099 CodeCompletionResult *Results,
2119 /// local code-completion results.
2121 CodeCompletionResult *Results,
2173 if (Results[I].Kind != Result::RK_Declaration)
2177 = Results[I].Declaration->getUnderlyingDecl()->getIdentifierNamespace();
2194 DeclarationName Name = Results[I].Declaration->getDeclName();
2205 CodeCompletionResult *Results,
2207 // Merge the results we were given with the results we cached.
2212 // Contains the set of names that are hidden by "local" completion results.
2225 // If we haven't added any results previously, do so now.
2227 CalculateHiddenNames(Context, Results, NumResults, S.Context,
2229 AllResults.insert(AllResults.end(), Results, Results + NumResults);
2284 // If we did not add any cached completion results, just forward the
2285 // results we were given to the next consumer.
2287 Next.ProcessCodeCompleteResults(S, Context, Results, NumResults);
2396 // code-completion results.