Index: llvm/trunk/include/llvm/MC/MCSectionCOFF.h =================================================================== --- llvm/trunk/include/llvm/MC/MCSectionCOFF.h +++ llvm/trunk/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: llvm/trunk/include/llvm/MC/MCSectionELF.h =================================================================== --- llvm/trunk/include/llvm/MC/MCSectionELF.h +++ llvm/trunk/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: llvm/trunk/include/llvm/MC/MCSectionWasm.h =================================================================== --- llvm/trunk/include/llvm/MC/MCSectionWasm.h +++ llvm/trunk/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: llvm/trunk/lib/MC/MCSectionCOFF.cpp =================================================================== --- llvm/trunk/lib/MC/MCSectionCOFF.cpp +++ llvm/trunk/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: llvm/trunk/lib/MC/MCSectionELF.cpp =================================================================== --- llvm/trunk/lib/MC/MCSectionELF.cpp +++ llvm/trunk/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: llvm/trunk/lib/MC/MCSectionWasm.cpp =================================================================== --- llvm/trunk/lib/MC/MCSectionWasm.cpp +++ llvm/trunk/lib/MC/MCSectionWasm.cpp @@ -14,8 +14,6 @@ using namespace llvm; -MCSectionWasm::~MCSectionWasm() = default; // anchor. - // Decides whether a '.section' directive // should be printed before the section name. bool MCSectionWasm::shouldOmitSectionDirective(StringRef Name,