Use 'override/final' instead of 'virtual' for overridden methods
[oota-llvm.git] / include / llvm / CodeGen / ScheduleDAGInstrs.h
index 9a6c848bfeaea5caa593266fc8ff2d957be95267..1196783e820b8491e431f9fd793ae897a87a3531 100644 (file)
@@ -76,7 +76,6 @@ namespace llvm {
   class ScheduleDAGInstrs : public ScheduleDAG {
   protected:
     const MachineLoopInfo *MLI;
-    const MachineDominatorTree *MDT;
     const MachineFrameInfo *MFI;
 
     /// Live Intervals provides reaching defs in preRA scheduling.
@@ -155,12 +154,11 @@ namespace llvm {
   public:
     explicit ScheduleDAGInstrs(MachineFunction &mf,
                                const MachineLoopInfo *mli,
-                               const MachineDominatorTree *mdt,
                                bool IsPostRAFlag,
                                bool RemoveKillFlags = false,
                                LiveIntervals *LIS = nullptr);
 
-    virtual ~ScheduleDAGInstrs() {}
+    ~ScheduleDAGInstrs() override {}
 
     bool isPostRA() const { return IsPostRA; }