1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

Shut GCC 4.0 up about classes that have virtual functions but a non-virtual

destructor. Just add the do-nothing virtual destructor.

llvm-svn: 21524
This commit is contained in:
Reid Spencer 2005-04-25 02:55:55 +00:00
parent a8e0496412
commit e952b16f37
2 changed files with 6 additions and 0 deletions

View File

@ -41,6 +41,8 @@ public:
TargetFrameInfo(StackDirection D, unsigned StackAl, int LAO)
: StackDir(D), StackAlignment(StackAl), LocalAreaOffset(LAO) {}
virtual ~TargetFrameInfo();
// These methods return information that describes the abstract stack layout
// of the target machine.

View File

@ -16,6 +16,10 @@
using namespace llvm;
TargetFrameInfo::~TargetFrameInfo()
{
}
//===--------------------------------------------------------------------===//
// These methods provide details of the stack frame used by Sparc, thus they
// are Sparc specific.