[llvm-commits] [llvm-gcc-4.2] r95285 - /llvm-gcc-4.2/trunk/gcc/llvm-abi.h
Rafael Espindola
rafael.espindola at gmail.com
Wed Feb 3 19:51:11 PST 2010
Author: rafael
Date: Wed Feb 3 21:51:11 2010
New Revision: 95285
URL: http://llvm.org/viewvc/llvm-project?rev=95285&view=rev
Log:
Add a virtual destructor to avoid the warnings.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-abi.h
Modified: llvm-gcc-4.2/trunk/gcc/llvm-abi.h
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-abi.h?rev=95285&r1=95284&r2=95285&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-abi.h (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-abi.h Wed Feb 3 21:51:11 2010
@@ -56,6 +56,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