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