diff options
Diffstat (limited to 'clang/lib/CodeGen/CGValue.h')
-rw-r--r-- | clang/lib/CodeGen/CGValue.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/lib/CodeGen/CGValue.h b/clang/lib/CodeGen/CGValue.h index af034a7ad59..d9dd94d4a63 100644 --- a/clang/lib/CodeGen/CGValue.h +++ b/clang/lib/CodeGen/CGValue.h @@ -154,7 +154,7 @@ class LValue { bool Ivar:1; // objective-c's ivar is an array - bool IvarArray:1; + bool ObjIsArray:1; // LValue is non-gc'able for any reason, including being a parameter or local // variable. @@ -176,7 +176,7 @@ private: // FIXME: Convenient place to set objc flags to 0. This should really be // done in a user-defined constructor instead. R.ObjCType = None; - R.Ivar = R.IvarArray = R.NonGC = R.GlobalObjCRef = false; + R.Ivar = R.ObjIsArray = R.NonGC = R.GlobalObjCRef = false; } public: @@ -195,7 +195,7 @@ public: } bool isObjCIvar() const { return Ivar; } - bool isObjCIvarArray() const { return IvarArray; } + bool isObjCArray() const { return ObjIsArray; } bool isNonGC () const { return NonGC; } bool isGlobalObjCRef() const { return GlobalObjCRef; } bool isObjCWeak() const { return ObjCType == Weak; } @@ -206,8 +206,8 @@ public: static void SetObjCIvar(LValue& R, bool iValue) { R.Ivar = iValue; } - static void SetObjCIvarArray(LValue& R, bool iValue) { - R.IvarArray = iValue; + static void SetObjCArray(LValue& R, bool iValue) { + R.ObjIsArray = iValue; } static void SetGlobalObjCRef(LValue& R, bool iValue) { R.GlobalObjCRef = iValue; |