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 | df72652fd030c609bce6f83eada48fe844ba1d2a (patch) | |
| tree | 9aa633be9391944710de99459b987d7df6f0fb00 /llvm/lib/CodeGen | |
| parent | d528660759e8f116dab3173a56a4aabd2390c596 (diff) | |
| download | bcm5719-llvm-df72652fd030c609bce6f83eada48fe844ba1d2a.tar.gz bcm5719-llvm-df72652fd030c609bce6f83eada48fe844ba1d2a.zip | |
Add a virtual dtor to Delegate to silence -Wnon-virtual-dtor
llvm-svn: 127311
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/LiveRangeEdit.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/LiveRangeEdit.h b/llvm/lib/CodeGen/LiveRangeEdit.h index db62eaa49c1..aa86740773f 100644 --- a/llvm/lib/CodeGen/LiveRangeEdit.h +++ b/llvm/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: |

