Use 'override/final' instead of 'virtual' for overridden methods
[oota-llvm.git] / lib / Target / Sparc / MCTargetDesc / SparcELFObjectWriter.cpp
index 931573363944a4316d710891fa5ac3d19c6f895a..2fefd0cd3b55d24cc6abe312bc1fe4cd0861f837 100644 (file)
@@ -26,7 +26,8 @@ namespace {
                                 Is64Bit ?  ELF::EM_SPARCV9 : ELF::EM_SPARC,
                                 /*HasRelocationAddend*/ true) {}
 
-    virtual ~SparcELFObjectWriter() {}
+    ~SparcELFObjectWriter() override {}
+
   protected:
     unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup,
                           bool IsPCRel) const override;