Remove empty non-virtual destructors or mark them =default when non-public
[oota-llvm.git] / include / llvm / CodeGen / ScheduleDAGInstrs.h
index 00dd8f9a633e2c23df17f003fabcfafc2bedd114..1196783e820b8491e431f9fd793ae897a87a3531 100644 (file)
@@ -158,7 +158,7 @@ namespace llvm {
                                bool RemoveKillFlags = false,
                                LiveIntervals *LIS = nullptr);
 
-    virtual ~ScheduleDAGInstrs() {}
+    ~ScheduleDAGInstrs() override {}
 
     bool isPostRA() const { return IsPostRA; }