Index: include/llvm/MC/MCSectionCOFF.h =================================================================== --- include/llvm/MC/MCSectionCOFF.h +++ include/llvm/MC/MCSectionCOFF.h @@ -62,8 +62,6 @@ } public: - ~MCSectionCOFF(); - /// Decides whether a '.section' directive should be printed before the /// section name bool ShouldOmitSectionDirective(StringRef Name, const MCAsmInfo &MAI) const; Index: include/llvm/MC/MCSectionELF.h =================================================================== --- include/llvm/MC/MCSectionELF.h +++ include/llvm/MC/MCSectionELF.h @@ -63,8 +63,6 @@ void setSectionName(StringRef Name) { SectionName = Name; } public: - ~MCSectionELF(); - /// Decides whether a '.section' directive should be printed before the /// section name bool ShouldOmitSectionDirective(StringRef Name, const MCAsmInfo &MAI) const; Index: include/llvm/MC/MCSectionWasm.h =================================================================== --- include/llvm/MC/MCSectionWasm.h +++ include/llvm/MC/MCSectionWasm.h @@ -48,11 +48,7 @@ : MCSection(SV_Wasm, K, Begin), SectionName(Section), UniqueID(UniqueID), Group(group) {} - void setSectionName(StringRef Name) { SectionName = Name; } - public: - ~MCSectionWasm(); - /// Decides whether a '.section' directive should be printed before the /// section name bool ShouldOmitSectionDirective(StringRef Name, const MCAsmInfo &MAI) const; Index: lib/MC/MCSectionCOFF.cpp =================================================================== --- lib/MC/MCSectionCOFF.cpp +++ lib/MC/MCSectionCOFF.cpp @@ -14,8 +14,6 @@ using namespace llvm; -MCSectionCOFF::~MCSectionCOFF() = default; // anchor. - // ShouldOmitSectionDirective - Decides whether a '.section' directive // should be printed before the section name bool MCSectionCOFF::ShouldOmitSectionDirective(StringRef Name, Index: lib/MC/MCSectionELF.cpp =================================================================== --- lib/MC/MCSectionELF.cpp +++ lib/MC/MCSectionELF.cpp @@ -17,8 +17,6 @@ using namespace llvm; -MCSectionELF::~MCSectionELF() = default; // anchor. - // Decides whether a '.section' directive // should be printed before the section name. bool MCSectionELF::ShouldOmitSectionDirective(StringRef Name, Index: lib/MC/MCSectionWasm.cpp =================================================================== --- lib/MC/MCSectionWasm.cpp +++ lib/MC/MCSectionWasm.cpp @@ -14,8 +14,6 @@ using namespace llvm; -MCSectionWasm::~MCSectionWasm() {} // anchor. - // Decides whether a '.section' directive // should be printed before the section name. bool MCSectionWasm::ShouldOmitSectionDirective(StringRef Name,