Skip to content

Revert: [clangd] Replace an include with a forward declaration #97082

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 28, 2024

Conversation

doru1004
Copy link
Contributor

Reverting due to failures on several buildbots.

@llvmbot
Copy link
Member

llvmbot commented Jun 28, 2024

@llvm/pr-subscribers-clangd

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

Author: Gheorghe-Teodor Bercea (doru1004)

Changes

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 --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

@doru1004 doru1004 requested review from nico, RKSimon and shiltian June 28, 2024 16:46
Copy link
Contributor

@jhuber6 jhuber6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable as I believe there were extra uses that needed the size.

@doru1004 doru1004 merged commit 319e11d into llvm:main Jun 28, 2024
4 of 6 checks passed
lravenclaw pushed a commit to lravenclaw/llvm-project that referenced this pull request Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants