From: Chris Lattner Date: Tue, 3 Jan 2006 17:52:18 +0000 (+0000) Subject: silence some warnings X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=361dfa62be35a220f7f8d00df102e1a9385be523;p=oota-llvm.git silence some warnings git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25066 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/VMCore/PassManagerT.h b/lib/VMCore/PassManagerT.h index 89ae00b1375..88bedd27db1 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 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 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"; }