]> granicus.if.org Git - clang/commit
First step toward fixing <rdar://problem/6613046> refactor clang objc type representa...
authorSteve Naroff <snaroff@apple.com>
Wed, 17 Jun 2009 22:40:22 +0000 (22:40 +0000)
committerSteve Naroff <snaroff@apple.com>
Wed, 17 Jun 2009 22:40:22 +0000 (22:40 +0000)
commitd1b3c2dd5bc1f3103bee6137957aa7c5f8f2f0bc
treebf881ac0ed3011c28fb1c773d8507d7022f9d85a
parentc87813824896a7124d2dd1c08e4661bbe119abf5
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
19 files changed:
include/clang/AST/ASTContext.h
include/clang/AST/Type.h
include/clang/AST/TypeNodes.def
include/clang/Frontend/PCHBitCodes.h
include/clang/Frontend/TypeXML.def
lib/AST/ASTContext.cpp
lib/AST/Type.cpp
lib/Analysis/RegionStore.cpp
lib/CodeGen/CGDebugInfo.cpp
lib/CodeGen/CodeGenTypes.cpp
lib/Frontend/PCHReader.cpp
lib/Frontend/PCHWriter.cpp
lib/Frontend/RewriteBlocks.cpp
lib/Frontend/RewriteObjC.cpp
lib/Sema/Sema.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprObjC.cpp
lib/Sema/SemaTemplateDeduction.cpp
lib/Sema/SemaTemplateInstantiate.cpp