[llvm-commits] [dragonegg] r97386 - /dragonegg/trunk/llvm-abi.h

Duncan Sands baldrick at free.fr
Sun Feb 28 05:05:03 PST 2010


Author: baldrick
Date: Sun Feb 28 07:05:02 2010
New Revision: 97386

URL: http://llvm.org/viewvc/llvm-project?rev=97386&view=rev
Log:
Port commit 95285 (rafael) from llvm-gcc:
Add a virtual destructor to avoid the warnings.

Modified:
    dragonegg/trunk/llvm-abi.h

Modified: dragonegg/trunk/llvm-abi.h
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/llvm-abi.h?rev=97386&r1=97385&r2=97386&view=diff
==============================================================================
--- dragonegg/trunk/llvm-abi.h (original)
+++ dragonegg/trunk/llvm-abi.h Sun Feb 28 07:05:02 2010
@@ -62,6 +62,7 @@
 /// DefaultABIClient - This is a simple implementation of the ABI client
 /// interface that can be subclassed.
 struct DefaultABIClient {
+  virtual ~DefaultABIClient() {}
   virtual CallingConv::ID& getCallingConv(void) = 0;
   virtual bool isShadowReturn() const { return false; }
 





More information about the llvm-commits mailing list