From e373dfa8199f71c8a17ddf9dfb682f2ce522e140 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Fri, 7 Mar 2014 22:53:36 +0000 Subject: [PATCH] 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 --- lib/CodeGen/AsmPrinter/ByteStreamer.h | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.34.1