Remove the #include of Pass.h from PassManager.h. This breaks a significant

#include dependency, as frontends commonly pull in PassManager.h.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85714 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2009-11-01 15:20:19 +00:00
parent b2710041fb
commit b2fae7560d
4 changed files with 4 additions and 2 deletions

View File

@ -17,10 +17,9 @@
#ifndef LLVM_PASSMANAGER_H
#define LLVM_PASSMANAGER_H
#include "llvm/Pass.h"
namespace llvm {
class Function;
class Pass;
class ModulePass;
class Module;

View File

@ -14,6 +14,7 @@
#ifndef LLVM_PASSMANAGERS_H
#define LLVM_PASSMANAGERS_H
#include "llvm/Pass.h"
#include "llvm/PassManager.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/SmallPtrSet.h"

View File

@ -14,6 +14,7 @@
#include "llvm-c/Transforms/IPO.h"
#include "llvm/PassManager.h"
#include "llvm/Pass.h"
#include "llvm/Transforms/IPO.h"
using namespace llvm;

View File

@ -17,6 +17,7 @@
#include "llvm/LLVMContext.h"
#include "llvm/Module.h"
#include "llvm/PassManager.h"
#include "llvm/Pass.h"
#include "llvm/Assembly/AsmAnnotationWriter.h"
#include "llvm/Analysis/ProfileInfo.h"
#include "llvm/Analysis/ProfileInfoLoader.h"