projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee0b7f4
)
Add a virtual dtor to Delegate to silence -Wnon-virtual-dtor
author
Matt Beaumont-Gay
<matthewbg@google.com>
Wed, 9 Mar 2011 04:02:15 +0000
(
04:02
+0000)
committer
Matt Beaumont-Gay
<matthewbg@google.com>
Wed, 9 Mar 2011 04:02:15 +0000
(
04:02
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127311
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/LiveRangeEdit.h
patch
|
blob
|
history
diff --git
a/lib/CodeGen/LiveRangeEdit.h
b/lib/CodeGen/LiveRangeEdit.h
index db62eaa49c10ad65dadf218226e1b44a0f5d3532..aa86740773f3403ee7266a9f90dd1d3833a5007d 100644
(file)
--- 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: