diff --git a/llvm/lib/CodeGen/AsmPrinter/DIE.h b/llvm/lib/CodeGen/AsmPrinter/DIE.h index e90812558e5c..7fefd4f4cb62 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DIE.h +++ b/llvm/lib/CodeGen/AsmPrinter/DIE.h @@ -16,15 +16,13 @@ #include "llvm/ADT/FoldingSet.h" #include "llvm/ADT/SmallVector.h" -#include "llvm/MC/MCExpr.h" -#include "llvm/Support/Compiler.h" #include "llvm/Support/Dwarf.h" #include namespace llvm { class AsmPrinter; +class MCExpr; class MCSymbol; -class MCSymbolRefExpr; class raw_ostream; class DwarfTypeUnit; diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.h b/llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.h index 18d1138228a8..4a144978b0d8 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.h @@ -24,7 +24,6 @@ #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/Format.h" #include "llvm/Support/FormattedStream.h" -#include #include // The dwarf accelerator tables are an indirect hash table optimized @@ -62,7 +61,6 @@ namespace llvm { class AsmPrinter; -class DIE; class DwarfFile; class DwarfAccelTable {