summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2014-03-18 02:34:52 +0000
committerAdrian Prantl <aprantl@apple.com>2014-03-18 02:34:52 +0000
commit702bf5a9d97c93cb0e1ef02e45da242c69c379d5 (patch)
tree3e8a47db11e26a058de3851a61b5b6ec4c9a98bc /llvm/lib/CodeGen
parent089793b39ea8fd6be22eaf0e5fe706d9f7e58c48 (diff)
downloadbcm5719-llvm-702bf5a9d97c93cb0e1ef02e45da242c69c379d5.tar.gz
bcm5719-llvm-702bf5a9d97c93cb0e1ef02e45da242c69c379d5.zip
Replace unnecessary #include directive with forward declarations.
llvm-svn: 204104
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h3
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
index 0123180ea46..44eed9406fe 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -22,7 +22,6 @@
#include "llvm/ADT/SetVector.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/StringMap.h"
-#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/CodeGen/LexicalScopes.h"
#include "llvm/IR/DebugInfo.h"
#include "llvm/IR/DebugLoc.h"
@@ -32,7 +31,9 @@
namespace llvm {
+class AsmPrinter;
class ByteStreamer;
+class DwarfDebug;
class DwarfUnit;
class DwarfCompileUnit;
class ConstantInt;
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
index a1c1fcc87a2..1c4e0e552f5 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
@@ -19,6 +19,7 @@
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/StringMap.h"
+#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/IR/DIBuilder.h"
#include "llvm/IR/DebugInfo.h"
#include "llvm/MC/MCExpr.h"
OpenPOWER on IntegriCloud