Replace unnecessary #include directive with forward declarations.

llvm-svn: 204104
This commit is contained in:
Adrian Prantl 2014-03-18 02:34:52 +00:00
parent 089793b39e
commit 702bf5a9d9
2 changed files with 3 additions and 1 deletions

View File

@ -22,7 +22,6 @@
#include "llvm/ADT/SetVector.h" #include "llvm/ADT/SetVector.h"
#include "llvm/ADT/SmallPtrSet.h" #include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringMap.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/CodeGen/LexicalScopes.h" #include "llvm/CodeGen/LexicalScopes.h"
#include "llvm/IR/DebugInfo.h" #include "llvm/IR/DebugInfo.h"
#include "llvm/IR/DebugLoc.h" #include "llvm/IR/DebugLoc.h"
@ -32,7 +31,9 @@
namespace llvm { namespace llvm {
class AsmPrinter;
class ByteStreamer; class ByteStreamer;
class DwarfDebug;
class DwarfUnit; class DwarfUnit;
class DwarfCompileUnit; class DwarfCompileUnit;
class ConstantInt; class ConstantInt;

View File

@ -19,6 +19,7 @@
#include "llvm/ADT/DenseMap.h" #include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/Optional.h" #include "llvm/ADT/Optional.h"
#include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringMap.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/IR/DIBuilder.h" #include "llvm/IR/DIBuilder.h"
#include "llvm/IR/DebugInfo.h" #include "llvm/IR/DebugInfo.h"
#include "llvm/MC/MCExpr.h" #include "llvm/MC/MCExpr.h"