aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-05-25 08:46:04 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-05-25 08:46:04 +0000
commitec55b08fd0dbe3191507ad81b93ab446254ee611 (patch)
tree7065ff8380ce5763f9a60e95e726b61a7fdd4e4b
parentbdfb668fee839bd2309ed55a26dab8e37898c505 (diff)
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
-rw-r--r--include/llvm/Type.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Type.h b/include/llvm/Type.h
index e1fef6c882..140b56445f 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.