Add a virtual destructor to quiet a warning.
authorEric Christopher <echristo@gmail.com>
Fri, 7 Mar 2014 22:53:36 +0000 (22:53 +0000)
committerEric Christopher <echristo@gmail.com>
Fri, 7 Mar 2014 22:53:36 +0000 (22:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203307 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/ByteStreamer.h

index 81b92e41458d7eaf8f186cadc75e2db33480b2fe..032dc13b5e7f701f98e5ef58ce24d9441c70f3ea 100644 (file)
@@ -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;