aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-01-03 17:52:18 +0000
committerChris Lattner <sabre@nondot.org>2006-01-03 17:52:18 +0000
commit361dfa62be35a220f7f8d00df102e1a9385be523 (patch)
tree25e2be3ae02ef2bc3d70bd95a8991cc24ee30992
parent6605b5d54dfc6e3312b83bb51809686ac1ab7eb9 (diff)
silence some warnings
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25066 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/VMCore/PassManagerT.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/VMCore/PassManagerT.h b/lib/VMCore/PassManagerT.h
index 89ae00b137..88bedd27db 100644
--- a/lib/VMCore/PassManagerT.h
+++ b/lib/VMCore/PassManagerT.h
@@ -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"; }