aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/AsmWriter.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2005-05-15 16:13:11 +0000
committerReid Spencer <rspencer@reidspencer.com>2005-05-15 16:13:11 +0000
commitedd5d9ece15f73ec1a31423a4ae39774aa6c521c (patch)
tree0cf64cf1cf786dfc0af67d7f048e4e26a86738d3 /lib/VMCore/AsmWriter.cpp
parent98a493c7cef0b81d499eae82a1f9b748d5e59eeb (diff)
downloadexternal_llvm-edd5d9ece15f73ec1a31423a4ae39774aa6c521c.zip
external_llvm-edd5d9ece15f73ec1a31423a4ae39774aa6c521c.tar.gz
external_llvm-edd5d9ece15f73ec1a31423a4ae39774aa6c521c.tar.bz2
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22057 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/AsmWriter.cpp')
-rw-r--r--lib/VMCore/AsmWriter.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp
index 889ae40..9ae3b9a 100644
--- a/lib/VMCore/AsmWriter.cpp
+++ b/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 {