remove unimplemented ctor, add some comments.
authorChris Lattner <sabre@nondot.org>
Thu, 25 Oct 2007 05:19:24 +0000 (05:19 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 25 Oct 2007 05:19:24 +0000 (05:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43328 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/PassManager.h

index 1abfa68a1ace62a1f5286f969c1aa573f3b599af..0e18a86b042afa559e910e6cb6a62f94d2e7cb86 100644 (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;
 };