[clang-tools-extra] b472176 - [clangd] Remove unused includes in IncludeCleaner.cpp, NFC
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 16 06:15:50 PDT 2023
Author: Haojian Wu
Date: 2023-06-16T15:15:07+02:00
New Revision: b472176829d44a68d94f26eaa743947e92fc9d1d
URL: https://github.com/llvm/llvm-project/commit/b472176829d44a68d94f26eaa743947e92fc9d1d
DIFF: https://github.com/llvm/llvm-project/commit/b472176829d44a68d94f26eaa743947e92fc9d1d.diff
LOG: [clangd] Remove unused includes in IncludeCleaner.cpp, NFC
Added:
Modified:
clang-tools-extra/clangd/IncludeCleaner.cpp
Removed:
################################################################################
diff --git a/clang-tools-extra/clangd/IncludeCleaner.cpp b/clang-tools-extra/clangd/IncludeCleaner.cpp
index dac24bcc7e4d7..e04e28bd30f18 100644
--- a/clang-tools-extra/clangd/IncludeCleaner.cpp
+++ b/clang-tools-extra/clangd/IncludeCleaner.cpp
@@ -13,7 +13,6 @@
#include "Preamble.h"
#include "Protocol.h"
#include "SourceCode.h"
-#include "URI.h"
#include "clang-include-cleaner/Analysis.h"
#include "clang-include-cleaner/IncludeSpeller.h"
#include "clang-include-cleaner/Record.h"
@@ -22,11 +21,6 @@
#include "support/Path.h"
#include "support/Trace.h"
#include "clang/AST/ASTContext.h"
-#include "clang/AST/DeclCXX.h"
-#include "clang/AST/Expr.h"
-#include "clang/AST/ExprCXX.h"
-#include "clang/AST/TemplateName.h"
-#include "clang/AST/Type.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/SourceLocation.h"
@@ -47,7 +41,6 @@
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringRef.h"
-#include "llvm/Support/Casting.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/FormatVariadic.h"
More information about the cfe-commits
mailing list