summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-03-07 22:53:36 +0000
committerEric Christopher <echristo@gmail.com>2014-03-07 22:53:36 +0000
commite373dfa8199f71c8a17ddf9dfb682f2ce522e140 (patch)
tree83e0b5382493eb636b2fee3644550ee6a3c734ff
parent7cf32a78938c38cf915169b8becdaac27152919e (diff)
downloadllvm-e373dfa8199f71c8a17ddf9dfb682f2ce522e140.tar.gz
llvm-e373dfa8199f71c8a17ddf9dfb682f2ce522e140.tar.bz2
llvm-e373dfa8199f71c8a17ddf9dfb682f2ce522e140.tar.xz
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
-rw-r--r--lib/CodeGen/AsmPrinter/ByteStreamer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter/ByteStreamer.h b/lib/CodeGen/AsmPrinter/ByteStreamer.h
index 81b92e4145..032dc13b5e 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;