Don't #include DerivedTypes.h from TargetData.h.

llvm-svn: 71468
This commit is contained in:
Jay Foad 2009-05-11 19:38:09 +00:00
parent 5d5ed2d800
commit ec63c85505
2 changed files with 4 additions and 1 deletions

View File

@ -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;

View 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",