aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-09-02 21:40:33 +0000
committerChris Lattner <sabre@nondot.org>2003-09-02 21:40:33 +0000
commitca371048a517d31235766d136c76de23824f7090 (patch)
treeb9f0f3e7e56679a76ee978b5a3f05b4c8cd52f77 /include
parent22edc39046ab54f6749a29385af2fa44ec28a8f3 (diff)
downloadexternal_llvm-ca371048a517d31235766d136c76de23824f7090.zip
external_llvm-ca371048a517d31235766d136c76de23824f7090.tar.gz
external_llvm-ca371048a517d31235766d136c76de23824f7090.tar.bz2
Remove the "recursive bit", not only is it unused by anyone, it was also
not correctly calculated, and calculating it wrong for fun seems rather pointless. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8329 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Type.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/llvm/Type.h b/include/llvm/Type.h
index 2c92e74..e2ee954 100644
--- a/include/llvm/Type.h
+++ b/include/llvm/Type.h
@@ -73,7 +73,6 @@ private:
PrimitiveID ID; // The current base type of this type...
unsigned UID; // The unique ID number for this class
bool Abstract; // True if type contains an OpaqueType
- bool Recursive; // True if the type is recursive
protected:
/// ctor is protected, so only subclasses can create Type objects...
@@ -89,10 +88,6 @@ protected:
///
inline void setAbstract(bool Val) { Abstract = Val; }
- /// Types can become recursive later, if they are refined.
- ///
- inline void setRecursive(bool Val) { Recursive = Val; }
-
public:
virtual void print(std::ostream &O) const;
@@ -148,10 +143,6 @@ public:
///
inline bool isAbstract() const { return Abstract; }
- /// isRecursive - True if the type graph contains a cycle.
- ///
- inline bool isRecursive() const { return Recursive; }
-
/// isLosslesslyConvertibleTo - Return true if this type can be converted to
/// 'Ty' without any reinterpretation of bits. For example, uint to int.
///