[llvm] r203307 - Add a virtual destructor to quiet a warning.
Eric Christopher
echristo at gmail.com
Fri Mar 7 14:53:36 PST 2014
Author: echristo
Date: Fri Mar 7 16:53:36 2014
New Revision: 203307
URL: http://llvm.org/viewvc/llvm-project?rev=203307&view=rev
Log:
Add a virtual destructor to quiet a warning.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/ByteStreamer.h
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/ByteStreamer.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/ByteStreamer.h?rev=203307&r1=203306&r2=203307&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/ByteStreamer.h (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/ByteStreamer.h Fri Mar 7 16:53:36 2014
@@ -23,6 +23,8 @@
namespace llvm {
class ByteStreamer {
public:
+ virtual ~ByteStreamer() {}
+
// For now we're just handling the calls we need for dwarf emission/hashing.
virtual void EmitInt8(uint8_t Byte, const Twine &Comment = "") = 0;
virtual void EmitSLEB128(uint64_t DWord, const Twine &Comment = "") = 0;
More information about the llvm-commits
mailing list