summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorMatt Beaumont-Gay <matthewbg@google.com>2011-03-09 04:02:15 +0000
committerMatt Beaumont-Gay <matthewbg@google.com>2011-03-09 04:02:15 +0000
commitdf72652fd030c609bce6f83eada48fe844ba1d2a (patch)
tree9aa633be9391944710de99459b987d7df6f0fb00 /llvm/lib
parentd528660759e8f116dab3173a56a4aabd2390c596 (diff)
downloadbcm5719-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')
-rw-r--r--llvm/lib/CodeGen/LiveRangeEdit.h1
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:
OpenPOWER on IntegriCloud