diff options
author | Chris Lattner <sabre@nondot.org> | 2001-09-09 21:00:23 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-09-09 21:00:23 +0000 |
commit | 78914e772f4988dd5e521b49e2e9b208fa1b02ab (patch) | |
tree | 9d50b707244312bad2e6567df1095d1ebc2db2aa /include/llvm/Type.h | |
parent | bf2f0436595602fcc81ef8c644157417db43e1d7 (diff) | |
download | llvm-78914e772f4988dd5e521b49e2e9b208fa1b02ab.tar.gz llvm-78914e772f4988dd5e521b49e2e9b208fa1b02ab.tar.bz2 llvm-78914e772f4988dd5e521b49e2e9b208fa1b02ab.tar.xz |
Convert ConstRules to use annotations to clean it up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@514 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Type.h')
-rw-r--r-- | include/llvm/Type.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/llvm/Type.h b/include/llvm/Type.h index 0f8e6a115e..d5f57cba04 100644 --- a/include/llvm/Type.h +++ b/include/llvm/Type.h @@ -28,9 +28,6 @@ #include "llvm/Value.h" -namespace opt { - class ConstRules; -} class DerivedType; class MethodType; class ArrayType; @@ -78,9 +75,6 @@ private: bool Abstract; // True if type contains an OpaqueType bool Recursive; // True if the type is recursive - // ConstRulesImpl - See Opt/ConstantHandling.h for more info - mutable const opt::ConstRules *ConstRulesImpl; - protected: // ctor is protected, so only subclasses can create Type objects... Type(const string &Name, PrimitiveID id); @@ -175,12 +169,6 @@ public: static const Type *getPrimitiveType(PrimitiveID IDNumber); static const Type *getUniqueIDType(unsigned UID); - // Methods for dealing with constants uniformly. See Opt/ConstantHandling.h - // for more info on this... - // - inline const opt::ConstRules *getConstRules() const { return ConstRulesImpl; } - inline void setConstRules(const opt::ConstRules *R) const { ConstRulesImpl=R;} - //===--------------------------------------------------------------------===// // These are the builtin types that are always available... // |