diff options
author | Steve Naroff <snaroff@apple.com> | 2009-06-17 22:40:22 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2009-06-17 22:40:22 +0000 |
commit | d1b3c2dd5bc1f3103bee6137957aa7c5f8f2f0bc (patch) | |
tree | bf881ac0ed3011c28fb1c773d8507d7022f9d85a /include/clang/Frontend | |
parent | c87813824896a7124d2dd1c08e4661bbe119abf5 (diff) |
First step toward fixing <rdar://problem/6613046> refactor clang objc type representation.
Add a type (ObjCObjectPointerType) and remove a type (ObjCQualifiedIdType).
This large/tedious patch is just a first step. Next step is to remove ObjCQualifiedInterfaceType. After that, I will remove the magic TypedefType for 'id' (installed by Sema). This work will enable various simplifications throughout clang (when dealing with ObjC types).
No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73649 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend')
-rw-r--r-- | include/clang/Frontend/PCHBitCodes.h | 4 | ||||
-rw-r--r-- | include/clang/Frontend/TypeXML.def | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/clang/Frontend/PCHBitCodes.h b/include/clang/Frontend/PCHBitCodes.h index 0862cd6390..e546a12c49 100644 --- a/include/clang/Frontend/PCHBitCodes.h +++ b/include/clang/Frontend/PCHBitCodes.h @@ -386,8 +386,8 @@ namespace clang { TYPE_OBJC_INTERFACE = 21, /// \brief An ObjCQualifiedInterfaceType record. TYPE_OBJC_QUALIFIED_INTERFACE = 22, - /// \brief An ObjCQualifiedIdType record. - TYPE_OBJC_QUALIFIED_ID = 23 + /// \brief An ObjCObjectPointerType record. + TYPE_OBJC_OBJECT_POINTER = 23 }; /// \brief The type IDs for special types constructed by semantic diff --git a/include/clang/Frontend/TypeXML.def b/include/clang/Frontend/TypeXML.def index fd9d08adff..2a78fd9f75 100644 --- a/include/clang/Frontend/TypeXML.def +++ b/include/clang/Frontend/TypeXML.def @@ -258,7 +258,7 @@ NODE_XML(ObjCQualifiedInterfaceType, "ObjCQualifiedInterfaceType") ID_ATTRIBUTE_XML END_NODE_XML -NODE_XML(ObjCQualifiedIdType, "ObjCQualifiedIdType") +NODE_XML(ObjCObjectPointerType, "ObjCObjectPointerType") ID_ATTRIBUTE_XML END_NODE_XML |