mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-02 02:55:35 +00:00
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
This commit is contained in:
parent
ee0b7f4e09
commit
ab2ee2ea75
@ -34,6 +34,7 @@ public:
|
|||||||
struct Delegate {
|
struct Delegate {
|
||||||
/// Called immediately before erasing a dead machine instruction.
|
/// Called immediately before erasing a dead machine instruction.
|
||||||
virtual void LRE_WillEraseInstruction(MachineInstr *MI) {}
|
virtual void LRE_WillEraseInstruction(MachineInstr *MI) {}
|
||||||
|
virtual ~Delegate() {}
|
||||||
};
|
};
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Loading…
Reference in New Issue
Block a user