Don't #include DerivedTypes.h from TargetData.h.
authorJay Foad <jay.foad@gmail.com>
Mon, 11 May 2009 19:38:09 +0000 (19:38 +0000)
committerJay Foad <jay.foad@gmail.com>
Mon, 11 May 2009 19:38:09 +0000 (19:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71468 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetData.h
lib/Target/PowerPC/PPCISelLowering.cpp

index 9c8b1d3a2adbf0be4512874b18c541dfdae2e815..c91c11a4067f666676441d39d27969d32b89c57f 100644 (file)
 #include "llvm/Pass.h"
 #include "llvm/Support/DataTypes.h"
 #include "llvm/ADT/SmallVector.h"
-#include "llvm/DerivedTypes.h"
 #include <string>
 
 namespace llvm {
 
 class Value;
+class Type;
+class IntegerType;
+class StructType;
 class StructLayout;
 class GlobalVariable;
 
index bf562b500e08f75a7c95599268c40ea9904e5bb8..c8d0a0bfb426388c42d7e728b7ceef4ef057de09 100644 (file)
@@ -32,6 +32,7 @@
 #include "llvm/Support/MathExtras.h"
 #include "llvm/Target/TargetOptions.h"
 #include "llvm/Support/CommandLine.h"
+#include "llvm/DerivedTypes.h"
 using namespace llvm;
 
 static cl::opt<bool> EnablePPCPreinc("enable-ppc-preinc",