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 | 09c4aa817758e394599148bb8201e29384008a18 (patch) | |
tree | 8e02f68ef01e60e89be0bbbe02c5e3cd699074c1 /clang/lib/Serialization/ASTReader.cpp | |
parent | 990554107090f5d4bb3bcc3be25ce1bbecc2d655 (diff) | |
download | bcm5719-llvm-09c4aa817758e394599148bb8201e29384008a18.tar.gz bcm5719-llvm-09c4aa817758e394599148bb8201e29384008a18.zip |
The AST reader and writer don't need accessors for poking at the predefined Objective-C types
llvm-svn: 137366
Diffstat (limited to 'clang/lib/Serialization/ASTReader.cpp')
-rw-r--r-- | clang/lib/Serialization/ASTReader.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/Serialization/ASTReader.cpp b/clang/lib/Serialization/ASTReader.cpp index b2300e0249d..f3ce0e9b548 100644 --- a/clang/lib/Serialization/ASTReader.cpp +++ b/clang/lib/Serialization/ASTReader.cpp @@ -2966,13 +2966,13 @@ void ASTReader::InitializeContext(ASTContext &Ctx) { Context->setBuiltinVaListType( GetType(SpecialTypes[SPECIAL_TYPE_BUILTIN_VA_LIST])); if (unsigned Id = SpecialTypes[SPECIAL_TYPE_OBJC_ID]) - Context->setObjCIdType(GetType(Id)); + Context->ObjCIdTypedefType = GetType(Id); if (unsigned Sel = SpecialTypes[SPECIAL_TYPE_OBJC_SELECTOR]) - Context->setObjCSelType(GetType(Sel)); + Context->ObjCSelTypedefType = GetType(Sel); if (unsigned Proto = SpecialTypes[SPECIAL_TYPE_OBJC_PROTOCOL]) - Context->setObjCProtoType(GetType(Proto)); + Context->ObjCProtoType = GetType(Proto); if (unsigned Class = SpecialTypes[SPECIAL_TYPE_OBJC_CLASS]) - Context->setObjCClassType(GetType(Class)); + Context->ObjCClassTypedefType = GetType(Class); if (unsigned String = SpecialTypes[SPECIAL_TYPE_CF_CONSTANT_STRING]) Context->setCFConstantStringType(GetType(String)); |