diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2005-04-25 02:55:55 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2005-04-25 02:55:55 +0000 |
commit | a1aad3b0eda2a516f663cb5f9f8c4c9bbb6ef224 (patch) | |
tree | e2e56166bd69455b8dfdf633ed259bc488b7a3ec /include/llvm/Target/TargetFrameInfo.h | |
parent | bb3d5d246b10da27858837285fba012f0c14671f (diff) | |
download | external_llvm-a1aad3b0eda2a516f663cb5f9f8c4c9bbb6ef224.zip external_llvm-a1aad3b0eda2a516f663cb5f9f8c4c9bbb6ef224.tar.gz external_llvm-a1aad3b0eda2a516f663cb5f9f8c4c9bbb6ef224.tar.bz2 |
Shut GCC 4.0 up about classes that have virtual functions but a non-virtual
destructor. Just add the do-nothing virtual destructor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21524 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetFrameInfo.h')
-rw-r--r-- | include/llvm/Target/TargetFrameInfo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetFrameInfo.h b/include/llvm/Target/TargetFrameInfo.h index 6097d8c..c302096 100644 --- a/include/llvm/Target/TargetFrameInfo.h +++ b/include/llvm/Target/TargetFrameInfo.h @@ -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. |