From 4afefdec65f198fad803fa8f9f994663488dd608 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Sat, 7 Aug 2010 01:18:18 +0000 Subject: [PATCH] More #include cleanups. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110499 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Pass.h | 4 ---- include/llvm/PassAnalysisSupport.h | 1 - include/llvm/PassManagers.h | 3 ++- lib/VMCore/PassManager.cpp | 1 + 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/include/llvm/Pass.h b/include/llvm/Pass.h index e5c073cd941..70d692d507b 100644 --- a/include/llvm/Pass.h +++ b/include/llvm/Pass.h @@ -29,11 +29,7 @@ #ifndef LLVM_PASS_H #define LLVM_PASS_H -#include "llvm/System/DataTypes.h" - #include -#include -#include namespace llvm { diff --git a/include/llvm/PassAnalysisSupport.h b/include/llvm/PassAnalysisSupport.h index 0136966ea08..a3342d51386 100644 --- a/include/llvm/PassAnalysisSupport.h +++ b/include/llvm/PassAnalysisSupport.h @@ -19,7 +19,6 @@ #ifndef LLVM_PASS_ANALYSIS_SUPPORT_H #define LLVM_PASS_ANALYSIS_SUPPORT_H -#include "llvm/Pass.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" #include diff --git a/include/llvm/PassManagers.h b/include/llvm/PassManagers.h index c592a084afc..4ef73b878ae 100644 --- a/include/llvm/PassManagers.h +++ b/include/llvm/PassManagers.h @@ -14,7 +14,7 @@ #ifndef LLVM_PASSMANAGERS_H #define LLVM_PASSMANAGERS_H -#include "llvm/PassManager.h" +#include "llvm/Pass.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/SmallPtrSet.h" #include "llvm/ADT/DenseMap.h" @@ -96,6 +96,7 @@ namespace llvm { class StringRef; class Value; class Timer; + class PMDataManager; /// FunctionPassManager and PassManager, two top level managers, serve /// as the public interface of pass manager infrastructure. diff --git a/lib/VMCore/PassManager.cpp b/lib/VMCore/PassManager.cpp index 8f895c81bcc..acdeea3f2ac 100644 --- a/lib/VMCore/PassManager.cpp +++ b/lib/VMCore/PassManager.cpp @@ -13,6 +13,7 @@ #include "llvm/PassManagers.h" +#include "llvm/PassManager.h" #include "llvm/Assembly/PrintModulePass.h" #include "llvm/Assembly/Writer.h" #include "llvm/Support/CommandLine.h"