[llvm-commits] CVS: llvm/lib/Target/TargetFrameInfo.cpp

Reid Spencer reid at x10sys.com
Sun Apr 24 19:56:06 PDT 2005



Changes in directory llvm/lib/Target:

TargetFrameInfo.cpp updated: 1.5 -> 1.6
---
Log message:

Shut GCC 4.0 up about classes that have virtual functions but a non-virtual
destructor. Just add the do-nothing virtual destructor.


---
Diffs of the changes:  (+4 -0)

 TargetFrameInfo.cpp |    4 ++++
 1 files changed, 4 insertions(+)


Index: llvm/lib/Target/TargetFrameInfo.cpp
diff -u llvm/lib/Target/TargetFrameInfo.cpp:1.5 llvm/lib/Target/TargetFrameInfo.cpp:1.6
--- llvm/lib/Target/TargetFrameInfo.cpp:1.5	Thu Apr 21 17:55:34 2005
+++ llvm/lib/Target/TargetFrameInfo.cpp	Sun Apr 24 21:55:55 2005
@@ -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.






More information about the llvm-commits mailing list