]> granicus.if.org Git - clang/commit
Encapsulate the Objective-C id/Class/SEL "redefinition" types in
authorDouglas Gregor <dgregor@apple.com>
Thu, 11 Aug 2011 20:58:55 +0000 (20:58 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 11 Aug 2011 20:58:55 +0000 (20:58 +0000)
commit01a4cf11777bb34c35f5d251a9e95eb736d0842b
treea42cce429ab7bfe7f553876d4249d4a4cf7072aa
parent0aeb2890389ec1872e49a18fb2022bfb9f96578d
Encapsulate the Objective-C id/Class/SEL "redefinition" types in
ASTContext with accessors/mutators. The only functional change is that
the AST writer won't bother writing the id/Class/SEL redefinition type
if it hasn't been explicitly set; previously, it ended up being
written as a synonym for the built-in id/Class/SEL.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137349 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ASTContext.h
lib/AST/ASTContext.cpp
lib/CodeGen/CGObjCMac.cpp
lib/Sema/Sema.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprMember.cpp