[WebAssembly] Remove an unneeded empty destructor.
authorDan Gohman <dan433584@gmail.com>
Mon, 21 Dec 2015 17:12:40 +0000 (17:12 +0000)
committerDan Gohman <dan433584@gmail.com>
Mon, 21 Dec 2015 17:12:40 +0000 (17:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256167 91177308-0d34-0410-b5e6-96231b3b80d8

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 {