silence some warnings
authorChris Lattner <sabre@nondot.org>
Tue, 3 Jan 2006 17:52:18 +0000 (17:52 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 3 Jan 2006 17:52:18 +0000 (17:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25066 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/PassManagerT.h

index 89ae00b1375969c02370c5b3e0c2c27f12dd8e57..88bedd27db1b39fc5a3c0dbbc1c6ce2831fdfb7e 100644 (file)
@@ -652,6 +652,8 @@ public:
   // PMType - The type of the passmanager that subclasses this class
   typedef PassManagerT<BasicBlock> PMType;
 
+  virtual ~BasicBlockPassManager() {}
+  
   // getPMName() - Return the name of the unit the PassManager operates on for
   // debugging.
   virtual const char *getPMName() const { return "BasicBlock"; }
@@ -719,6 +721,8 @@ public:
   // PMType - The type of the passmanager that subclasses this class
   typedef PassManagerT<Function> PMType;
   
+  virtual ~FunctionPassManagerT() {}
+
   // getPMName() - Return the name of the unit the PassManager operates on for
   // debugging.
   virtual const char *getPMName() const { return "Function"; }
@@ -778,6 +782,8 @@ public:
   // ParentClass - The type of the parent PassManager...
   typedef AnalysisResolver ParentClass;
   
+  virtual ~ModulePassManager() {}
+
   // getPMName() - Return the name of the unit the PassManager operates on for
   // debugging.
   virtual const char *getPassName() const { return "Module Pass Manager"; }