[llvm-commits] CVS: llvm/lib/VMCore/PassManagerT.h

Chris Lattner lattner at cs.uiuc.edu
Tue Jan 3 09:52:30 PST 2006



Changes in directory llvm/lib/VMCore:

PassManagerT.h updated: 1.59 -> 1.60
---
Log message:

silence some warnings


---
Diffs of the changes:  (+6 -0)

 PassManagerT.h |    6 ++++++
 1 files changed, 6 insertions(+)


Index: llvm/lib/VMCore/PassManagerT.h
diff -u llvm/lib/VMCore/PassManagerT.h:1.59 llvm/lib/VMCore/PassManagerT.h:1.60
--- llvm/lib/VMCore/PassManagerT.h:1.59	Tue Jan  3 01:05:17 2006
+++ llvm/lib/VMCore/PassManagerT.h	Tue Jan  3 11:52:18 2006
@@ -652,6 +652,8 @@
   // 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 @@
   // 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 @@
   // 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"; }






More information about the llvm-commits mailing list