commit | ab2ee2ea7518b0539c6adcd158d52a45028271f4 | [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 | b4d5b62333db5b12b6b4f0038d823db4041b3463 | |
parent | ee0b7f4e099010d4f9f754ca0bb6475595191571 [diff] [blame] |
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
diff --git a/lib/CodeGen/LiveRangeEdit.h b/lib/CodeGen/LiveRangeEdit.h index db62eaa..aa86740 100644 --- a/lib/CodeGen/LiveRangeEdit.h +++ b/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: