[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp
Reid Spencer
reid at x10sys.com
Sun May 15 09:13:23 PDT 2005
Changes in directory llvm/lib/VMCore:
AsmWriter.cpp updated: 1.178 -> 1.179
---
Log message:
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.
---
Diffs of the changes: (+3 -0)
AsmWriter.cpp | 3 +++
1 files changed, 3 insertions(+)
Index: llvm/lib/VMCore/AsmWriter.cpp
diff -u llvm/lib/VMCore/AsmWriter.cpp:1.178 llvm/lib/VMCore/AsmWriter.cpp:1.179
--- llvm/lib/VMCore/AsmWriter.cpp:1.178 Fri May 6 15:26:43 2005
+++ llvm/lib/VMCore/AsmWriter.cpp Sun May 15 11:13:11 2005
@@ -34,6 +34,9 @@
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 {
More information about the llvm-commits
mailing list