From: Peter Collingbourne Date: Fri, 21 Aug 2015 04:51:24 +0000 (+0000) Subject: Linker: Remove empty destructor. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e0d3c7ca6d3dc7ac9d7611433eb2e5f552839bf7;p=oota-llvm.git Linker: Remove empty destructor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245672 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Linker/Linker.h b/include/llvm/Linker/Linker.h index c43b90e9cd2..2a46d755b8e 100644 --- a/include/llvm/Linker/Linker.h +++ b/include/llvm/Linker/Linker.h @@ -62,7 +62,6 @@ public: Linker(Module *M, DiagnosticHandlerFunction DiagnosticHandler); Linker(Module *M); - ~Linker(); Module *getModule() const { return Composite; } void deleteModule(); diff --git a/lib/Linker/LinkModules.cpp b/lib/Linker/LinkModules.cpp index e102119a136..3b84454455e 100644 --- a/lib/Linker/LinkModules.cpp +++ b/lib/Linker/LinkModules.cpp @@ -1754,9 +1754,6 @@ Linker::Linker(Module *M) { }); } -Linker::~Linker() { -} - void Linker::deleteModule() { delete Composite; Composite = nullptr;