commit | df72652fd030c609bce6f83eada48fe844ba1d2a | [log] [tgz] |
---|---|---|
author | Matt Beaumont-Gay <matthewbg@google.com> | Wed Mar 09 04:02:15 2011 +0000 |
committer | Matt Beaumont-Gay <matthewbg@google.com> | Wed Mar 09 04:02:15 2011 +0000 |
tree | 9aa633be9391944710de99459b987d7df6f0fb00 | |
parent | d528660759e8f116dab3173a56a4aabd2390c596 [diff] |
Add a virtual dtor to Delegate to silence -Wnon-virtual-dtor llvm-svn: 127311
diff --git a/llvm/lib/CodeGen/LiveRangeEdit.h b/llvm/lib/CodeGen/LiveRangeEdit.h index db62eaa..aa86740 100644 --- a/llvm/lib/CodeGen/LiveRangeEdit.h +++ b/llvm/lib/CodeGen/LiveRangeEdit.h
@@ -34,6 +34,7 @@ struct Delegate { /// Called immediately before erasing a dead machine instruction. virtual void LRE_WillEraseInstruction(MachineInstr *MI) {} + virtual ~Delegate() {} }; private: