[clang-tools-extra] 32fc78c - [cland] Remove unused declaration getCurrentPreamble
Kazu Hirata via cfe-commits
cfe-commits at lists.llvm.org
Mon May 29 14:17:16 PDT 2023
Author: Kazu Hirata
Date: 2023-05-29T14:17:01-07:00
New Revision: 32fc78c26ff591f627d3a6d4f8e0ab7c2092f1e5
URL: https://github.com/llvm/llvm-project/commit/32fc78c26ff591f627d3a6d4f8e0ab7c2092f1e5
DIFF: https://github.com/llvm/llvm-project/commit/32fc78c26ff591f627d3a6d4f8e0ab7c2092f1e5.diff
LOG: [cland] Remove unused declaration getCurrentPreamble
The corresponding function definition was removed by:
commit 2214b9076f1d3a4784820c4479e2417685e5c980
Author: Kadir Cetinkaya <kadircet at google.com>
Date: Thu Apr 2 10:53:23 2020 +0200
Added:
Modified:
clang-tools-extra/clangd/TUScheduler.cpp
Removed:
################################################################################
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<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;
More information about the cfe-commits
mailing list