[cfe-commits] r75808 - in /cfe/trunk: include/clang/AST/ASTContext.h include/clang/AST/Type.h include/clang/Basic/DiagnosticSemaKinds.td include/clang/Frontend/PCHBitCodes.h lib/AST/ASTContext.cpp lib/AST/Type.cpp lib/CodeGen/CodeGenTypes.cpp lib/CodeGen/Mangle.cpp lib/Frontend/PCHReader.cpp lib/Frontend/PCHWriter.cpp lib/Sema/Sema.cpp lib/Sema/SemaExpr.cpp lib/Sema/SemaOverload.cpp test/SemaObjC/comptypes-3.m test/SemaObjC/conditional-expr-3.m

Chris Lattner clattner at apple.com
Wed Jul 15 22:15:13 PDT 2009

On Jul 15, 2009, at 11:40 AM, Steve Naroff wrote:
> Author: snaroff
> Date: Wed Jul 15 13:40:39 2009
> New Revision: 75808
> URL: http://llvm.org/viewvc/llvm-project?rev=75808&view=rev
> Log:
> Implement the ObjC pseudo built-in types as clang "BuiltinType's". I  
> say pseudo built-in types, since Sema still injects a typedef for  
> recognition (i.e. they aren't truly built-ins from a parser  
> perspective).
> This removes the static data/methods on ObjCObjectPointerType while  
> preserving the nice API (no need to fiddle with ASTContext:-).
> This patch also adds Type::isObjCBuiltinType().
> This should be the last fairly large patch related to recrafting the  
> ObjC type system. The follow-on patches should be fairly small.

Ok, so to summarize, "id" is now a typedef for  
ObjCPointerType(TheBuiltinObjCIdType) now?  If so, this is a great  


More information about the cfe-commits mailing list