[AST] Remove unused includes (NFC) (#141417)

These are identified by misc-include-cleaner.  I've filtered out those
that break builds.  Also, I'm staying away from llvm-config.h,
config.h, and Compiler.h, which likely cause platform- or
compiler-specific build failures.
This commit is contained in:
Kazu Hirata
2025-05-25 10:55:25 -07:00
committed by GitHub
parent f314588f41
commit 01138d3f65
7 changed files with 0 additions and 7 deletions

View File

@@ -28,7 +28,6 @@
#include "clang/AST/DeclCXX.h"
#include "clang/AST/ExprCXX.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Format.h"
using namespace clang;
using namespace clang::interp;

View File

@@ -10,7 +10,6 @@
#include "Program.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclCXX.h"
#include "clang/Basic/Builtins.h"
using namespace clang;
using namespace clang::interp;

View File

@@ -27,7 +27,6 @@
#include <algorithm>
#include <cassert>
#include <utility>
#include <vector>
using namespace clang;

View File

@@ -33,7 +33,6 @@
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/ErrorHandling.h"
#include <cassert>
#include <memory>
#include <optional>
#include <utility>

View File

@@ -4,7 +4,6 @@
#include "clang/Basic/Specifiers.h"
#include "clang/Lex/Lexer.h"
#include "llvm/ADT/StringExtras.h"
#include <optional>
using namespace clang;

View File

@@ -50,7 +50,6 @@
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"

View File

@@ -37,7 +37,6 @@
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <optional>
using namespace clang;