From 8c2a2363587bf77bedb160e704a9030769a3799c Mon Sep 17 00:00:00 2001 From: Hubert Tong Date: Sat, 9 Feb 2019 02:11:51 +0000 Subject: [MC] Clean up unused inline function and non-anchor defaulted destructors; NFCI Summary: Take care of some missing clean-ups that belong with r249548 and some other copy/paste that had happened. In particular, the destructors are no longer vtable anchors after r249548; and `setSectionName` in `MCSectionWasm` is private and unused since r313058 culled its only caller. The destructors are now implicitly defined, and the unused function is removed. Reviewers: nemanjai, jasonliu, grosbach Reviewed By: nemanjai Subscribers: sbc100, aheejin, sunfish, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D57182 llvm-svn: 353597 --- llvm/lib/MC/MCSectionELF.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'llvm/lib/MC/MCSectionELF.cpp') diff --git a/llvm/lib/MC/MCSectionELF.cpp b/llvm/lib/MC/MCSectionELF.cpp index dd883665e0b..e3c24efa93f 100644 --- a/llvm/lib/MC/MCSectionELF.cpp +++ b/llvm/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, -- cgit v1.2.3