summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commit1d6d1c88bd48f8bdcbc12c401d03ec8af65350ec (patch)
treed699cfc4de25417f95884e92c4b932a85fe80b0e /llvm/lib
parent8c1f17bb986f63a56f8670adf47327a181dc52b1 (diff)
downloadbcm5719-llvm-1d6d1c88bd48f8bdcbc12c401d03ec8af65350ec.tar.gz
bcm5719-llvm-1d6d1c88bd48f8bdcbc12c401d03ec8af65350ec.zip
Add a virtual destructor to quiet a warning.
llvm-svn: 203307
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/ByteStreamer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/ByteStreamer.h b/llvm/lib/CodeGen/AsmPrinter/ByteStreamer.h
index 81b92e41458..032dc13b5e7 100644
--- a/llvm/lib/CodeGen/AsmPrinter/ByteStreamer.h
+++ b/llvm/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;
OpenPOWER on IntegriCloud