[clang-tools-extra] Revert: [clangd] Replace an include with a forward declaration (PR #97082)

via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 28 09:38:52 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clangd

@llvm/pr-subscribers-clang-tools-extra

Author: Gheorghe-Teodor Bercea (doru1004)

<details>
<summary>Changes</summary>

Reverting due to failures on several buildbots.

---
Full diff: https://github.com/llvm/llvm-project/pull/97082.diff


1 Files Affected:

- (modified) clang-tools-extra/clangd/index/remote/Client.h (+1-2) 


``````````diff
diff --git a/clang-tools-extra/clangd/index/remote/Client.h b/clang-tools-extra/clangd/index/remote/Client.h
index 9755fb23c2ba5..9004012f066ae 100644
--- a/clang-tools-extra/clangd/index/remote/Client.h
+++ b/clang-tools-extra/clangd/index/remote/Client.h
@@ -9,6 +9,7 @@
 #ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_INDEX_REMOTE_CLIENT_H
 #define LLVM_CLANG_TOOLS_EXTRA_CLANGD_INDEX_REMOTE_CLIENT_H
 
+#include "index/Index.h"
 #include "llvm/ADT/StringRef.h"
 
 #include <memory>
@@ -16,8 +17,6 @@
 namespace clang {
 namespace clangd {
 
-class SymbolIndex;
-
 namespace remote {
 
 /// Returns an SymbolIndex client that passes requests to remote index located

``````````

</details>


https://github.com/llvm/llvm-project/pull/97082


More information about the cfe-commits mailing list