[llvm-commits] CVS: llvm/include/llvm/Type.h

LLVM llvm at cs.uiuc.edu
Tue May 25 07:22:27 PDT 2004


Changes in directory llvm/include/llvm:

Type.h updated: 1.42 -> 1.43

---
Log message:

Give Type its own dump() method in preparation for Type != Value.

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

Index: llvm/include/llvm/Type.h
diff -u llvm/include/llvm/Type.h:1.42 llvm/include/llvm/Type.h:1.43
--- llvm/include/llvm/Type.h:1.42	Fri Mar 26 15:43:12 2004
+++ llvm/include/llvm/Type.h	Tue May 25 03:46:04 2004
@@ -128,6 +128,9 @@
 public:
   virtual void print(std::ostream &O) const;
 
+  /// @brief Debugging support: print to stderr
+  virtual void dump() const;
+
   //===--------------------------------------------------------------------===//
   // Property accessors for dealing with types... Some of these virtual methods
   // are defined in private classes defined in Type.cpp for primitive types.





More information about the llvm-commits mailing list