[llvm] c758644 - Fix diagnostic for missing virtual dtor

JF Bastien via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 30 21:32:21 PDT 2020


Author: JF Bastien
Date: 2020-06-30T21:32:05-07:00
New Revision: c7586444ca787c3845ac4ad0bd603709f2abbb0f

URL: https://github.com/llvm/llvm-project/commit/c7586444ca787c3845ac4ad0bd603709f2abbb0f
DIFF: https://github.com/llvm/llvm-project/commit/c7586444ca787c3845ac4ad0bd603709f2abbb0f.diff

LOG: Fix diagnostic for missing virtual dtor

Introduced in D82673.

Added: 
    

Modified: 
    llvm/include/llvm/CodeGen/ModuloSchedule.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/CodeGen/ModuloSchedule.h b/llvm/include/llvm/CodeGen/ModuloSchedule.h
index 8a5b8c7f1c30..be0108dfa936 100644
--- a/llvm/include/llvm/CodeGen/ModuloSchedule.h
+++ b/llvm/include/llvm/CodeGen/ModuloSchedule.h
@@ -282,6 +282,7 @@ class PeelingModuloScheduleExpander {
                                 LiveIntervals *LIS)
       : Schedule(S), MF(MF), ST(MF.getSubtarget()), MRI(MF.getRegInfo()),
         TII(ST.getInstrInfo()), LIS(LIS) {}
+  virtual ~PeelingModuloScheduleExpander() {}
 
   virtual void expand();
 


        


More information about the llvm-commits mailing list