Lines Matching refs:Results
347 // Clear out the previous results.
352 SmallVector<Result, 8> Results;
355 getCodeCompletionTUInfo(), Results);
360 for (unsigned I = 0, N = Results.size(); I != N; ++I) {
361 switch (Results[I].Kind) {
365 CachedResult.Completion = Results[I].CreateCodeCompletionString(*TheSema,
368 CachedResult.ShowInContexts = getDeclShowContexts(Results[I].Declaration,
371 CachedResult.Priority = Results[I].Priority;
372 CachedResult.Kind = Results[I].CursorKind;
373 CachedResult.Availability = Results[I].Availability;
377 QualType UsageType = getDeclUsageType(*Ctx, Results[I].Declaration);
403 IsNestedNameSpecifier && !Results[I].StartsNestedNameSpecifier) {
419 if (isa<NamespaceDecl>(Results[I].Declaration) ||
420 isa<NamespaceAliasDecl>(Results[I].Declaration))
428 Results[I].StartsNestedNameSpecifier = true;
430 = Results[I].CreateCodeCompletionString(*TheSema,
452 Results[I].CreateCodeCompletionString(*TheSema,
469 CachedResult.Priority = Results[I].Priority;
470 CachedResult.Kind = Results[I].CursorKind;
471 CachedResult.Availability = Results[I].Availability;
2015 // If we're caching global code-completion results, and the top-level
2034 /// results from an ASTUnit with the code-completion results provided to it,
2073 CodeCompletionResult *Results,
2093 /// local code-completion results.
2095 CodeCompletionResult *Results,
2147 if (Results[I].Kind != Result::RK_Declaration)
2151 = Results[I].Declaration->getUnderlyingDecl()->getIdentifierNamespace();
2168 DeclarationName Name = Results[I].Declaration->getDeclName();
2179 CodeCompletionResult *Results,
2181 // Merge the results we were given with the results we cached.
2186 // Contains the set of names that are hidden by "local" completion results.
2199 // If we haven't added any results previously, do so now.
2201 CalculateHiddenNames(Context, Results, NumResults, S.Context,
2203 AllResults.insert(AllResults.end(), Results, Results + NumResults);
2258 // If we did not add any cached completion results, just forward the
2259 // results we were given to the next consumer.
2261 Next.ProcessCodeCompleteResults(S, Context, Results, NumResults);
2365 // code-completion results.