diff options
author | Chris Lattner <sabre@nondot.org> | 2009-02-28 23:01:57 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-02-28 23:01:57 +0000 |
commit | ae3042316fe868e1074c15d61804df0900ddc08a (patch) | |
tree | bdc8e7c319ccc316b55bc6992374a8d27f4ec737 /include | |
parent | 8ab55b747d03f278c7cbed6ddb5b1378b97281f8 (diff) |
delete a bunch of duplicated type printing logic, using the type printing
stuff in AsmWriter.cpp for Type::getDescription().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65734 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Type.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Type.h b/include/llvm/Type.h index b8f65582ba..3d2a6f8d8f 100644 --- a/include/llvm/Type.h +++ b/include/llvm/Type.h @@ -177,8 +177,8 @@ public: /// inline TypeID getTypeID() const { return ID; } - /// getDescription - Return the string representation of the type... - const std::string &getDescription() const; + /// getDescription - Return the string representation of the type. + std::string getDescription() const; /// isInteger - True if this is an instance of IntegerType. /// |