[llvm] r245672 - Linker: Remove empty destructor.
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 20 21:51:25 PDT 2015
Author: pcc
Date: Thu Aug 20 23:51:24 2015
New Revision: 245672
URL: http://llvm.org/viewvc/llvm-project?rev=245672&view=rev
Log:
Linker: Remove empty destructor.
Modified:
llvm/trunk/include/llvm/Linker/Linker.h
llvm/trunk/lib/Linker/LinkModules.cpp
Modified: llvm/trunk/include/llvm/Linker/Linker.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Linker/Linker.h?rev=245672&r1=245671&r2=245672&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Linker/Linker.h (original)
+++ llvm/trunk/include/llvm/Linker/Linker.h Thu Aug 20 23:51:24 2015
@@ -62,7 +62,6 @@ public:
Linker(Module *M, DiagnosticHandlerFunction DiagnosticHandler);
Linker(Module *M);
- ~Linker();
Module *getModule() const { return Composite; }
void deleteModule();
Modified: llvm/trunk/lib/Linker/LinkModules.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Linker/LinkModules.cpp?rev=245672&r1=245671&r2=245672&view=diff
==============================================================================
--- llvm/trunk/lib/Linker/LinkModules.cpp (original)
+++ llvm/trunk/lib/Linker/LinkModules.cpp Thu Aug 20 23:51:24 2015
@@ -1754,9 +1754,6 @@ Linker::Linker(Module *M) {
});
}
-Linker::~Linker() {
-}
-
void Linker::deleteModule() {
delete Composite;
Composite = nullptr;
More information about the llvm-commits
mailing list