diff --git a/clang-tools-extra/clangd/TUScheduler.cpp b/clang-tools-extra/clangd/TUScheduler.cpp index 126937ff49e90..5fc98eec3a2fd 100644 --- a/clang-tools-extra/clangd/TUScheduler.cpp +++ b/clang-tools-extra/clangd/TUScheduler.cpp @@ -635,10 +635,6 @@ class ASTWorker { std::shared_ptr Preamble, std::vector CIDiags, WantDiagnostics WantDiags); - /// Obtain a preamble reflecting all updates so far. Threadsafe. - /// It may be delivered immediately, or later on the worker thread. - void getCurrentPreamble( - llvm::unique_function)>); /// Returns compile command from the current file inputs. tooling::CompileCommand getCurrentCompileCommand() const;