Use 'override/final' instead of 'virtual' for overridden methods
[oota-llvm.git] / include / llvm / CodeGen / LiveIntervalAnalysis.h
index dc52c0a896c40a0ae4d049930f65c0be667fb8d5..9673f80e0856678b2f14d9ab4bdcf8ed351614d9 100644 (file)
@@ -100,7 +100,7 @@ extern cl::opt<bool> UseSegmentSetForPhysRegs;
   public:
     static char ID; // Pass identification, replacement for typeid
     LiveIntervals();
-    virtual ~LiveIntervals();
+    ~LiveIntervals() override;
 
     // Calculate the spill weight to assign to a single instruction.
     static float getSpillWeight(bool isDef, bool isUse,