From ec55b08fd0dbe3191507ad81b93ab446254ee611 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Tue, 25 May 2004 08:46:04 +0000 Subject: [PATCH] Give Type its own dump() method in preparation for Type != Value. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13746 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Type.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/llvm/Type.h b/include/llvm/Type.h index e1fef6c882a..140b56445fb 100644 --- a/include/llvm/Type.h +++ b/include/llvm/Type.h @@ -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.