[WebAssembly] Remove an unneeded empty destructor.
[oota-llvm.git] / lib / Target / WebAssembly / MCTargetDesc / WebAssemblyELFObjectWriter.cpp
index 54953b4033d5a050a46a1dbd25d31bb35dc8d82f..c47a3d9094e5e65a20a0d4fd620be6cac4a19d45 100644 (file)
@@ -24,8 +24,6 @@ class WebAssemblyELFObjectWriter final : public MCELFObjectTargetWriter {
 public:
   WebAssemblyELFObjectWriter(bool Is64Bit, uint8_t OSABI);
 
 public:
   WebAssemblyELFObjectWriter(bool Is64Bit, uint8_t OSABI);
 
-  ~WebAssemblyELFObjectWriter() override;
-
 protected:
   unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup,
                         bool IsPCRel) const override;
 protected:
   unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup,
                         bool IsPCRel) const override;
@@ -40,8 +38,6 @@ WebAssemblyELFObjectWriter::WebAssemblyELFObjectWriter(bool Is64Bit,
     : MCELFObjectTargetWriter(Is64Bit, OSABI, ELF::EM_NONE,
                               /*HasRelocationAddend=*/true) {}
 
     : MCELFObjectTargetWriter(Is64Bit, OSABI, ELF::EM_NONE,
                               /*HasRelocationAddend=*/true) {}
 
-WebAssemblyELFObjectWriter::~WebAssemblyELFObjectWriter() {}
-
 unsigned WebAssemblyELFObjectWriter::GetRelocType(const MCValue &Target,
                                                   const MCFixup &Fixup,
                                                   bool IsPCRel) const {
 unsigned WebAssemblyELFObjectWriter::GetRelocType(const MCValue &Target,
                                                   const MCFixup &Fixup,
                                                   bool IsPCRel) const {