diff options
author | Matt Beaumont-Gay <matthewbg@google.com> | 2011-03-09 04:02:15 +0000 |
---|---|---|
committer | Matt Beaumont-Gay <matthewbg@google.com> | 2011-03-09 04:02:15 +0000 |
commit | ab2ee2ea7518b0539c6adcd158d52a45028271f4 (patch) | |
tree | b4d5b62333db5b12b6b4f0038d823db4041b3463 /lib/CodeGen | |
parent | ee0b7f4e099010d4f9f754ca0bb6475595191571 (diff) |
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
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/LiveRangeEdit.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/LiveRangeEdit.h b/lib/CodeGen/LiveRangeEdit.h index db62eaa49c..aa86740773 100644 --- a/lib/CodeGen/LiveRangeEdit.h +++ b/lib/CodeGen/LiveRangeEdit.h @@ -34,6 +34,7 @@ public: struct Delegate { /// Called immediately before erasing a dead machine instruction. virtual void LRE_WillEraseInstruction(MachineInstr *MI) {} + virtual ~Delegate() {} }; private: |