From 6a7de3f20531adb266531e43285a96c56b35cf72 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Tue, 14 Sep 2010 20:49:00 +0000 Subject: [PATCH] Prune includes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113850 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Constants.h | 3 ++- include/llvm/DerivedTypes.h | 1 + include/llvm/Type.h | 1 - 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h index a7deae0451b..a75aaf72a30 100644 --- a/include/llvm/Constants.h +++ b/include/llvm/Constants.h @@ -25,7 +25,6 @@ #include "llvm/OperandTraits.h" #include "llvm/ADT/APInt.h" #include "llvm/ADT/APFloat.h" -#include "llvm/ADT/SmallVector.h" #include namespace llvm { @@ -40,6 +39,8 @@ template struct ConstantCreator; template struct ConvertConstantType; +template +class SmallVector; //===----------------------------------------------------------------------===// /// This is the shared class of boolean and integer constants. This class diff --git a/include/llvm/DerivedTypes.h b/include/llvm/DerivedTypes.h index 9b6b19f1546..4bc1a7a904c 100644 --- a/include/llvm/DerivedTypes.h +++ b/include/llvm/DerivedTypes.h @@ -19,6 +19,7 @@ #define LLVM_DERIVED_TYPES_H #include "llvm/Type.h" +#include "llvm/System/DataTypes.h" namespace llvm { diff --git a/include/llvm/Type.h b/include/llvm/Type.h index e6a05721c7b..b493879e957 100644 --- a/include/llvm/Type.h +++ b/include/llvm/Type.h @@ -12,7 +12,6 @@ #include "llvm/AbstractTypeUser.h" #include "llvm/Support/Casting.h" -#include "llvm/System/DataTypes.h" #include "llvm/ADT/GraphTraits.h" #include #include -- 2.34.1