[llvm-commits] [llvm] r98994 - /llvm/trunk/lib/MC/MachObjectWriter.cpp
Rafael Espindola
rafael.espindola at gmail.com
Fri Mar 19 14:26:46 PDT 2010
Author: rafael
Date: Fri Mar 19 16:26:46 2010
New Revision: 98994
URL: http://llvm.org/viewvc/llvm-project?rev=98994&view=rev
Log:
Fix -Wnon-virtual-dtor warning.
Modified:
llvm/trunk/lib/MC/MachObjectWriter.cpp
Modified: llvm/trunk/lib/MC/MachObjectWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MachObjectWriter.cpp?rev=98994&r1=98993&r2=98994&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MachObjectWriter.cpp (original)
+++ llvm/trunk/lib/MC/MachObjectWriter.cpp Fri Mar 19 16:26:46 2010
@@ -192,6 +192,8 @@
: Writer(_Writer), OS(Writer->getStream()), Is64Bit(_Is64Bit) {
}
+ virtual ~MachObjectWriterImpl() {}
+
void Write8(uint8_t Value) { Writer->Write8(Value); }
void Write16(uint16_t Value) { Writer->Write16(Value); }
void Write32(uint32_t Value) { Writer->Write32(Value); }
More information about the llvm-commits
mailing list