diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2005-05-15 16:13:11 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2005-05-15 16:13:11 +0000 |
| commit | 294715b33e47d5d9f1e5be26d696f7d7a13d6de2 (patch) | |
| tree | 637be0e577363e4d8943dd55904a5a3e99c2abf2 /llvm/lib | |
| parent | b62a5f0c03701e59d047cb46e5017e0e0854c8d2 (diff) | |
| download | bcm5719-llvm-294715b33e47d5d9f1e5be26d696f7d7a13d6de2.tar.gz bcm5719-llvm-294715b33e47d5d9f1e5be26d696f7d7a13d6de2.zip | |
Some cleanups for compilation with GCC 4.0.0 to remove warnings:
* Use C++ style casts, not C style casts
* Abstract base classes should have virtual destructor.
llvm-svn: 22057
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/VMCore/AsmWriter.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp index 889ae4067cb..9ae3b9a2890 100644 --- a/llvm/lib/VMCore/AsmWriter.cpp +++ b/llvm/lib/VMCore/AsmWriter.cpp @@ -34,6 +34,9 @@ using namespace llvm; namespace llvm { +// Make virtual table appear in this compilation unit. +AssemblyAnnotationWriter::~AssemblyAnnotationWriter() {} + /// This class provides computation of slot numbers for LLVM Assembly writing. /// @brief LLVM Assembly Writing Slot Computation. class SlotMachine { |

