Give Type its own dump() method in preparation for Type != Value.
authorReid Spencer <rspencer@reidspencer.com>
Tue, 25 May 2004 08:46:04 +0000 (08:46 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 25 May 2004 08:46:04 +0000 (08:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13746 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Type.h

index e1fef6c882aa11bcc7319c7e1ac411bc3296b8a6..140b56445fbd6555bcade2f0fcbf625f00e3ac83 100644 (file)
@@ -128,6 +128,9 @@ protected:
 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.