diff options
author | Chris Lattner <sabre@nondot.org> | 2007-10-25 05:19:24 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-10-25 05:19:24 +0000 |
commit | 33819d97048b2cbc3a1b49b46b3781a2bdec556e (patch) | |
tree | d4bee18fbb732d77aafa109342407f3ec09bdc1a /include/llvm/PassManager.h | |
parent | d9b8616c27e60719c297ce625f09d9b67a3c802c (diff) |
remove unimplemented ctor, add some comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43328 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/PassManager.h')
-rw-r--r-- | include/llvm/PassManager.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/llvm/PassManager.h b/include/llvm/PassManager.h index 1abfa68a1a..0e18a86b04 100644 --- a/include/llvm/PassManager.h +++ b/include/llvm/PassManager.h @@ -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; }; |