diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-08-11 22:04:35 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-08-11 22:04:35 +0000 |
commit | 30403a611d6648099e7ad43ab82e3ba8e62bf00e (patch) | |
tree | 3f3076df2c9908dfd0c514f6fe3eeb15d2b4ac80 /lib/Serialization/ASTWriter.cpp | |
parent | 01a4cf11777bb34c35f5d251a9e95eb736d0842b (diff) |
The AST reader and writer don't need accessors for poking at the predefined Objective-C types
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137366 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ASTWriter.cpp')
-rw-r--r-- | lib/Serialization/ASTWriter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Serialization/ASTWriter.cpp b/lib/Serialization/ASTWriter.cpp index 1b33efc105..fe747a5150 100644 --- a/lib/Serialization/ASTWriter.cpp +++ b/lib/Serialization/ASTWriter.cpp @@ -2929,10 +2929,10 @@ void ASTWriter::WriteASTCore(Sema &SemaRef, MemorizeStatCalls *StatCalls, // Form the record of special types. RecordData SpecialTypes; AddTypeRef(Context.getBuiltinVaListType(), SpecialTypes); - AddTypeRef(Context.getObjCIdType(), SpecialTypes); - AddTypeRef(Context.getObjCSelType(), SpecialTypes); - AddTypeRef(Context.getObjCProtoType(), SpecialTypes); - AddTypeRef(Context.getObjCClassType(), SpecialTypes); + AddTypeRef(Context.ObjCIdTypedefType, SpecialTypes); + AddTypeRef(Context.ObjCSelTypedefType, SpecialTypes); + AddTypeRef(Context.ObjCProtoType, SpecialTypes); + AddTypeRef(Context.ObjCClassTypedefType, SpecialTypes); AddTypeRef(Context.getRawCFConstantStringType(), SpecialTypes); AddTypeRef(Context.getFILEType(), SpecialTypes); AddTypeRef(Context.getjmp_bufType(), SpecialTypes); |