aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-06-30 04:35:01 +0000
committerChris Lattner <sabre@nondot.org>2001-06-30 04:35:01 +0000
commitb9b8959091517b47675f7126b40bd50bcfdbb384 (patch)
tree1c3075c2a38ac8b382249b6e965e45352c7412f6
parentd180e0fda7dc9be32a63f22b4399019c0836bc40 (diff)
The ConstRules class got moved to the opt namespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Type.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/llvm/Type.h b/include/llvm/Type.h
index 40555b0dc1..27448a4bf9 100644
--- a/include/llvm/Type.h
+++ b/include/llvm/Type.h
@@ -17,7 +17,9 @@
#include "llvm/Value.h"
-class ConstRules;
+namespace opt {
+ class ConstRules;
+}
class ConstPoolVal;
class Type : public Value {
@@ -59,7 +61,7 @@ private:
unsigned UID; // The unique ID number for this class
// ConstRulesImpl - See Opt/ConstantHandling.h for more info
- mutable const ConstRules *ConstRulesImpl;
+ mutable const opt::ConstRules *ConstRulesImpl;
protected:
// ctor is protected, so only subclasses can create Type objects...
@@ -86,8 +88,8 @@ public:
// Methods for dealing with constants uniformly. See Opt/ConstantHandling.h
// for more info on this...
//
- inline const ConstRules *getConstRules() const { return ConstRulesImpl; }
- inline void setConstRules(const ConstRules *R) const { ConstRulesImpl = R; }
+ inline const opt::ConstRules *getConstRules() const { return ConstRulesImpl; }
+ inline void setConstRules(const opt::ConstRules *R) const { ConstRulesImpl = R; }
public: // These are the builtin types that are always available...
static const Type *VoidTy , *BoolTy;