]> granicus.if.org Git - clang/commit
Move the creation of the predefined typedef for Objective-C's 'id'
authorDouglas Gregor <dgregor@apple.com>
Fri, 12 Aug 2011 05:46:01 +0000 (05:46 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 12 Aug 2011 05:46:01 +0000 (05:46 +0000)
commit4dfd02a17c6d604c72e6936527c5e1c56d3ecb7a
tree6ebd102cd1758abea2391ca34f4fdc0de0675326
parent634a43c272a918f47cfc7dd07c7bd9481772f12e
Move the creation of the predefined typedef for Objective-C's 'id'
type over into the AST context, then make that declaration a
predefined declaration in the AST format. This ensures that different
AST files will at least agree on the (global) declaration ID for 'id',
and eliminates one of the "special" types in the AST file format.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137429 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ASTContext.h
include/clang/Serialization/ASTBitCodes.h
lib/AST/ASTContext.cpp
lib/Sema/Sema.cpp
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTWriter.cpp