Prune includes.
authorBenjamin Kramer <benny.kra@googlemail.com>
Tue, 14 Sep 2010 20:49:00 +0000 (20:49 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Tue, 14 Sep 2010 20:49:00 +0000 (20:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113850 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Constants.h
include/llvm/DerivedTypes.h
include/llvm/Type.h

index a7deae0451bcbcd4898590325f452c81602d3af2..a75aaf72a309c4889cf93cb071ac026ccf3def54 100644 (file)
@@ -25,7 +25,6 @@
 #include "llvm/OperandTraits.h"
 #include "llvm/ADT/APInt.h"
 #include "llvm/ADT/APFloat.h"
-#include "llvm/ADT/SmallVector.h"
 #include <vector>
 
 namespace llvm {
@@ -40,6 +39,8 @@ template<class ConstantClass, class TypeClass, class ValType>
 struct ConstantCreator;
 template<class ConstantClass, class TypeClass>
 struct ConvertConstantType;
+template<typename T, unsigned N>
+class SmallVector;
 
 //===----------------------------------------------------------------------===//
 /// This is the shared class of boolean and integer constants. This class 
index 9b6b19f1546640e3ce94767771e5e82d8e0d7060..4bc1a7a904c62fbf3d98e3c5ec0e2b4a9edf573f 100644 (file)
@@ -19,6 +19,7 @@
 #define LLVM_DERIVED_TYPES_H
 
 #include "llvm/Type.h"
+#include "llvm/System/DataTypes.h"
 
 namespace llvm {
 
index e6a05721c7b96f4a4b14ce9260b25fb1e3ca7f27..b493879e95725d2ead7cd12d04f6efa177e24ffa 100644 (file)
@@ -12,7 +12,6 @@
 
 #include "llvm/AbstractTypeUser.h"
 #include "llvm/Support/Casting.h"
-#include "llvm/System/DataTypes.h"
 #include "llvm/ADT/GraphTraits.h"
 #include <string>
 #include <vector>