[cland] Remove unused declaration getCurrentPreamble
authorKazu Hirata <kazu@google.com>
Mon, 29 May 2023 21:17:01 +0000 (14:17 -0700)
committerKazu Hirata <kazu@google.com>
Mon, 29 May 2023 21:17:01 +0000 (14:17 -0700)
The corresponding function definition was removed by:

  commit 2214b9076f1d3a4784820c4479e2417685e5c980
  Author: Kadir Cetinkaya <kadircet@google.com>
  Date:   Thu Apr 2 10:53:23 2020 +0200

clang-tools-extra/clangd/TUScheduler.cpp

index 126937f..5fc98ee 100644 (file)
@@ -635,10 +635,6 @@ public:
                       std::shared_ptr<const PreambleData> Preamble,
                       std::vector<Diag> 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<void(std::shared_ptr<const PreambleData>)>);
   /// Returns compile command from the current file inputs.
   tooling::CompileCommand getCurrentCompileCommand() const;