diff --git a/clang-tools-extra/clangd/ClangdServer.cpp b/clang-tools-extra/clangd/ClangdServer.cpp --- a/clang-tools-extra/clangd/ClangdServer.cpp +++ b/clang-tools-extra/clangd/ClangdServer.cpp @@ -775,7 +775,7 @@ return CB(InpAST.takeError()); CB(clangd::inlayHints(InpAST->AST, std::move(RestrictRange))); }; - WorkScheduler->runWithAST("InlayHints", File, std::move(Action)); + WorkScheduler->runWithAST("InlayHints", File, std::move(Action), Transient); } void ClangdServer::onFileEvent(const DidChangeWatchedFilesParams &Params) {