Add a virtual dtor to Delegate to silence -Wnon-virtual-dtor

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127311 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Matt Beaumont-Gay 2011-03-09 04:02:15 +00:00
parent ee0b7f4e09
commit ab2ee2ea75

View File

@ -34,6 +34,7 @@ public:
struct Delegate {
/// Called immediately before erasing a dead machine instruction.
virtual void LRE_WillEraseInstruction(MachineInstr *MI) {}
virtual ~Delegate() {}
};
private: