[PATCH] D49681: OpChain has subclasses, so add a virtual destructor.

Jordan Rupprecht via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 23 10:38:20 PDT 2018


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rL337713: OpChain has subclasses, so add a virtual destructor. (authored by rupprecht, committed by ).

Repository:
  rL LLVM

https://reviews.llvm.org/D49681

Files:
  llvm/trunk/lib/Target/ARM/ARMParallelDSP.cpp


Index: llvm/trunk/lib/Target/ARM/ARMParallelDSP.cpp
===================================================================
--- llvm/trunk/lib/Target/ARM/ARMParallelDSP.cpp
+++ llvm/trunk/lib/Target/ARM/ARMParallelDSP.cpp
@@ -64,6 +64,7 @@
     bool          ReadOnly = true;
 
     OpChain(Instruction *I, ValueList &vl) : Root(I), AllValues(vl) { }
+    virtual ~OpChain() = default;
 
     void SetMemoryLocations() {
       const auto Size = MemoryLocation::UnknownSize;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49681.156819.patch
Type: text/x-patch
Size: 471 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180723/4d0aa802/attachment.bin>


More information about the llvm-commits mailing list