[llvm-commits] [llvm] r71468 - in /llvm/trunk: include/llvm/Target/TargetData.h lib/Target/PowerPC/PPCISelLowering.cpp

Jay Foad jay.foad at gmail.com
Mon May 11 12:38:10 PDT 2009


Author: foad
Date: Mon May 11 14:38:09 2009
New Revision: 71468

URL: http://llvm.org/viewvc/llvm-project?rev=71468&view=rev
Log:
Don't #include DerivedTypes.h from TargetData.h.

Modified:
    llvm/trunk/include/llvm/Target/TargetData.h
    llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp

Modified: llvm/trunk/include/llvm/Target/TargetData.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetData.h?rev=71468&r1=71467&r2=71468&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Target/TargetData.h (original)
+++ llvm/trunk/include/llvm/Target/TargetData.h Mon May 11 14:38:09 2009
@@ -23,12 +23,14 @@
 #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;
 

Modified: llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp?rev=71468&r1=71467&r2=71468&view=diff

==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp Mon May 11 14:38:09 2009
@@ -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",





More information about the llvm-commits mailing list