Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clangd/index/remote/server/
H A DServer.cpp114 static Key<grpc::ServerContext *> CurrentRequest; variable
134 WithContextValue WithRequestContext(CurrentRequest, Context); in Lookup()
179 WithContextValue WithRequestContext(CurrentRequest, Context); in FuzzyFind()
222 WithContextValue WithRequestContext(CurrentRequest, Context); in Refs()
265 WithContextValue WithRequestContext(CurrentRequest, Context); in Relations()
453 if (Context::current().get(CurrentRequest) == nullptr || in makeLogger()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DTUScheduler.cpp731 llvm::Optional<Request> CurrentRequest; /* GUARDED_BY(Mutex) */ member in clang::clangd::__anon589430d30611::ASTWorker
847 assert(Requests.empty() && !CurrentRequest && in ~ASTWorker()
1342 if (CurrentRequest) in startTask()
1405 CurrentRequest = std::move(PreambleRequests.front()); in run()
1408 CurrentRequest = std::move(Requests.front()); in run()
1414 CurrentRequest->QueueCtx.reset(); in run()
1423 Status.ASTActivity.Name = CurrentRequest->Name; in run()
1427 WithContext Guard(std::move(CurrentRequest->Ctx)); in run()
1430 Status.ASTActivity.Name = CurrentRequest->Name; in run()
1432 runTask(CurrentRequest->Name, CurrentRequest->Action); in run()
[all …]