[llvm-commits] CVS: llvm/include/llvm/Assembly/Writer.h

Reid Spencer reid at x10sys.com
Sun Aug 27 18:03:13 PDT 2006



Changes in directory llvm/include/llvm/Assembly:

Writer.h updated: 1.32 -> 1.33
---
Log message:

For PR387: http://llvm.org/PR387 :
Close out this long standing bug by removing the remaining overloaded
virtual functions in LLVM. The -Woverloaded-virtual option is now turned on.


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

 Writer.h |    4 ++++
 1 files changed, 4 insertions(+)


Index: llvm/include/llvm/Assembly/Writer.h
diff -u llvm/include/llvm/Assembly/Writer.h:1.32 llvm/include/llvm/Assembly/Writer.h:1.33
--- llvm/include/llvm/Assembly/Writer.h:1.32	Thu Apr 21 22:27:03 2005
+++ llvm/include/llvm/Assembly/Writer.h	Sun Aug 27 20:02:49 2006
@@ -43,6 +43,10 @@
 std::ostream &WriteAsOperand(std::ostream&, const Type*, bool PrintTy = true,
                              bool PrintName = true, const Module* Context = 0);
 
+#ifndef NDEBUG
+void dumpType(const Type* Ty);
+void dumpValue(const Value* Val);
+#endif
 } // End llvm namespace
 
 #endif






More information about the llvm-commits mailing list