From: Eric Christopher Date: Fri, 7 Mar 2014 22:53:36 +0000 (+0000) Subject: Add a virtual destructor to quiet a warning. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e373dfa8199f71c8a17ddf9dfb682f2ce522e140;p=oota-llvm.git Add a virtual destructor to quiet a warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203307 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/AsmPrinter/ByteStreamer.h b/lib/CodeGen/AsmPrinter/ByteStreamer.h index 81b92e41458..032dc13b5e7 100644 --- a/lib/CodeGen/AsmPrinter/ByteStreamer.h +++ b/lib/CodeGen/AsmPrinter/ByteStreamer.h @@ -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;