aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-09-02 16:28:03 +0000
committerChris Lattner <sabre@nondot.org>2003-09-02 16:28:03 +0000
commitb44cacb647431b030702f099dea94fc5625041da (patch)
tree7dc7436b6d7df8df7f9c8e59e9f785eff268e602 /include
parent714a3a6cb51d5156c9d83aff9f6e1fb687c2d1ae (diff)
downloadexternal_llvm-b44cacb647431b030702f099dea94fc5625041da.zip
external_llvm-b44cacb647431b030702f099dea94fc5625041da.tar.gz
external_llvm-b44cacb647431b030702f099dea94fc5625041da.tar.bz2
The description is no longer stored directly in the type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8319 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Type.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/llvm/Type.h b/include/llvm/Type.h
index 10708b2..2c92e74 100644
--- a/include/llvm/Type.h
+++ b/include/llvm/Type.h
@@ -72,7 +72,6 @@ public:
private:
PrimitiveID ID; // The current base type of this type...
unsigned UID; // The unique ID number for this class
- std::string Desc; // The printed name of the string...
bool Abstract; // True if type contains an OpaqueType
bool Recursive; // True if the type is recursive
@@ -81,10 +80,6 @@ protected:
Type(const std::string &Name, PrimitiveID id);
virtual ~Type() {}
- /// When types are refined, they update their description to be more concrete.
- ///
- inline void setDescription(const std::string &D) { Desc = D; }
-
/// setName - Associate the name with this type in the symbol table, but don't
/// set the local name to be equal specified name.
///
@@ -119,7 +114,7 @@ public:
inline unsigned getUniqueID() const { return UID; }
/// getDescription - Return the string representation of the type...
- inline const std::string &getDescription() const { return Desc; }
+ const std::string &getDescription() const;
/// isSigned - Return whether an integral numeric type is signed. This is
/// true for SByteTy, ShortTy, IntTy, LongTy. Note that this is not true for