Lines Matching refs:CurrentRequest
485 llvm::Optional<Request> CurrentRequest; /* GUARDED_BY(Mutex) */ member in clang::clangd::__anon5c4233ba0311::ASTWorker
596 assert(Requests.empty() && !CurrentRequest && in ~ASTWorker()
1005 assert(!CurrentRequest && "A task is already running, multiple workers?"); in run()
1041 CurrentRequest = std::move(PreambleRequests.front()); in run()
1044 CurrentRequest = std::move(Requests.front()); in run()
1056 Status.ASTActivity.Name = CurrentRequest->Name; in run()
1060 WithContext Guard(std::move(CurrentRequest->Ctx)); in run()
1061 trace::Span Tracer(CurrentRequest->Name); in run()
1064 Status.ASTActivity.Name = CurrentRequest->Name; in run()
1067 CurrentRequest->Action(); in run()
1073 CurrentRequest.reset(); in run()
1162 return PreambleRequests.empty() && Requests.empty() && !CurrentRequest; in blockUntilIdle()