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

Gheorghe-Teodor Bercea via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 28 09:54:50 PDT 2024


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

>From beb28561c632a9c76412d78210f6c7cdcf50819a Mon Sep 17 00:00:00 2001
From: Doru Bercea <doru.bercea at amd.com>
Date: Fri, 28 Jun 2024 12:37:31 -0400
Subject: [PATCH] Revert: [clangd] Replace an include with a forward
 declaration

---
 clang-tools-extra/clangd/index/remote/Client.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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



More information about the cfe-commits mailing list