remove unimplemented ctor, add some comments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43328 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2007-10-25 05:19:24 +00:00
parent d9b8616c27
commit 33819d9704

View File

@ -31,7 +31,6 @@ class FunctionPassManagerImpl;
/// PassManager manages ModulePassManagers
class PassManager {
public:
PassManager();
@ -52,14 +51,14 @@ private:
/// PassManagerImpl_New is the actual class. PassManager is just the
/// wraper to publish simple pass manager interface
PassManagerImpl *PM;
};
/// FunctionPassManager manages FunctionPasses and BasicBlockPassManagers.
class FunctionPassManager {
public:
/// FunctionPassManager ctor - This initializes the pass manager. It needs,
/// but does not take ownership of, the specified module provider.
explicit FunctionPassManager(ModuleProvider *P);
FunctionPassManager();
~FunctionPassManager();
/// add - Add a pass to the queue of passes to run. This passes
@ -82,8 +81,8 @@ public:
/// doFinalization - Run all of the finalizers for the function passes.
///
bool doFinalization();
private:
FunctionPassManagerImpl *FPM;
ModuleProvider *MP;
};