[llvm-commits] [llvm] r147230 - in /llvm/trunk: include/llvm/MC/MCELFObjectWriter.h lib/MC/MCELFObjectTargetWriter.cpp
Rafael Espindola
rafael.espindola at gmail.com
Fri Dec 23 17:53:13 PST 2011
Author: rafael
Date: Fri Dec 23 19:53:13 2011
New Revision: 147230
URL: http://llvm.org/viewvc/llvm-project?rev=147230&view=rev
Log:
Define trivial destructor inline.
Modified:
llvm/trunk/include/llvm/MC/MCELFObjectWriter.h
llvm/trunk/lib/MC/MCELFObjectTargetWriter.cpp
Modified: llvm/trunk/include/llvm/MC/MCELFObjectWriter.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCELFObjectWriter.h?rev=147230&r1=147229&r2=147230&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCELFObjectWriter.h (original)
+++ llvm/trunk/include/llvm/MC/MCELFObjectWriter.h Fri Dec 23 19:53:13 2011
@@ -38,7 +38,7 @@
}
}
- virtual ~MCELFObjectTargetWriter();
+ virtual ~MCELFObjectTargetWriter() {}
virtual unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup,
bool IsPCRel, bool IsRelocWithSymbol,
Modified: llvm/trunk/lib/MC/MCELFObjectTargetWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCELFObjectTargetWriter.cpp?rev=147230&r1=147229&r2=147230&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCELFObjectTargetWriter.cpp (original)
+++ llvm/trunk/lib/MC/MCELFObjectTargetWriter.cpp Fri Dec 23 19:53:13 2011
@@ -36,6 +36,3 @@
void MCELFObjectTargetWriter::adjustFixupOffset(const MCFixup &Fixup,
uint64_t &RelocOffset) {
}
-
-MCELFObjectTargetWriter::~MCELFObjectTargetWriter() {
-}
More information about the llvm-commits
mailing list