Lines Matching refs:AllocatedResults
562 AllocatedCXCodeCompleteResults &AllocatedResults; member in __anon3cfb78df0211::CaptureCompletionResults
570 : CodeCompleteConsumer(Opts), AllocatedResults(Results), in CaptureCompletionResults()
580 AllocatedResults.FixItsVector.reserve(NumResults); in ProcessCodeCompleteResults()
592 AllocatedResults.FixItsVector.emplace_back(std::move(Results[I].FixIts)); in ProcessCodeCompleteResults()
597 AllocatedResults.ContextKind = contextKind; in ProcessCodeCompleteResults()
598 AllocatedResults.Contexts = getContextsForContextKind(contextKind, S); in ProcessCodeCompleteResults()
600 AllocatedResults.Selector = ""; in ProcessCodeCompleteResults()
606 AllocatedResults.Selector += selIdent->getName(); in ProcessCodeCompleteResults()
607 AllocatedResults.Selector += ":"; in ProcessCodeCompleteResults()
634 AllocatedResults.ContainerKind = clang_getCursorKind(cursor); in ProcessCodeCompleteResults()
637 AllocatedResults.ContainerUSR = clang_getCString(CursorUSR); in ProcessCodeCompleteResults()
642 AllocatedResults.ContainerIsIncomplete = type->isIncompleteType(); in ProcessCodeCompleteResults()
645 AllocatedResults.ContainerIsIncomplete = 1; in ProcessCodeCompleteResults()
649 AllocatedResults.ContainerKind = CXCursor_InvalidCode; in ProcessCodeCompleteResults()
650 AllocatedResults.ContainerUSR.clear(); in ProcessCodeCompleteResults()
651 AllocatedResults.ContainerIsIncomplete = 1; in ProcessCodeCompleteResults()
674 return *AllocatedResults.CodeCompletionAllocator; in getAllocator()
681 AllocatedResults.Results = new CXCompletionResult [StoredResults.size()]; in Finish()
682 AllocatedResults.NumResults = StoredResults.size(); in Finish()
683 std::memcpy(AllocatedResults.Results, StoredResults.data(), in Finish()