More #include cleanups.
authorDan Gohman <gohman@apple.com>
Sat, 7 Aug 2010 01:18:18 +0000 (01:18 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 7 Aug 2010 01:18:18 +0000 (01:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110499 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Pass.h
include/llvm/PassAnalysisSupport.h
include/llvm/PassManagers.h
lib/VMCore/PassManager.cpp

index e5c073cd9412e692739f71b5af5530adedac6434..70d692d507b7db35ee5e7977a16a7505fb6888af 100644 (file)
 #ifndef LLVM_PASS_H
 #define LLVM_PASS_H
 
-#include "llvm/System/DataTypes.h"
-
 #include <string>
-#include <utility>
-#include <vector>
 
 namespace llvm {
 
index 0136966ea08b3a8bfec8526e5dbe7503a69829e7..a3342d51386be8dd055ac180d045e5ec8b64bae6 100644 (file)
@@ -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 <vector>
index c592a084afc4074fab1b0c47609182c3eebce6fc..4ef73b878ae8b435773fe224b026370ab9d788eb 100644 (file)
@@ -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.
index 8f895c81bcc37d404cc1daa8c77e8ee7d27be290..acdeea3f2acd4ca238fdca4905831c65e7851121 100644 (file)
@@ -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"