Home
last modified time | relevance | path

Searched refs:CurrentRequest (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/index/remote/server/
DServer.cpp83 static Key<grpc::ServerContext *> CurrentRequest; variable
103 WithContextValue WithRequestContext(CurrentRequest, Context); in Lookup()
141 WithContextValue WithRequestContext(CurrentRequest, Context); in FuzzyFind()
179 WithContextValue WithRequestContext(CurrentRequest, Context); in Refs()
217 WithContextValue WithRequestContext(CurrentRequest, Context); in Relations()
342 if (Context::current().get(CurrentRequest) == nullptr || in makeLogger()
/external/llvm-project/clang-tools-extra/clangd/
DTUScheduler.cpp485 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()
[all …]