diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2010-07-17 18:35:47 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-07-17 18:35:47 +0000 |
commit | aea8e1e3d2a8f6481a36a136cdbaa0079e200d99 (patch) | |
tree | f82459ea0f4b06bda49aa8f45ac6db35adb60ed3 /clang/lib/Frontend/PCHReaderDecl.cpp | |
parent | 52183439703bea30d59039f61a8a6b90ddeb74b7 (diff) | |
download | bcm5719-llvm-aea8e1e3d2a8f6481a36a136cdbaa0079e200d99.tar.gz bcm5719-llvm-aea8e1e3d2a8f6481a36a136cdbaa0079e200d99.zip |
Added PCH/ASTImporter code for ObjCIvarDecl's field.
llvm-svn: 108627
Diffstat (limited to 'clang/lib/Frontend/PCHReaderDecl.cpp')
-rw-r--r-- | clang/lib/Frontend/PCHReaderDecl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Frontend/PCHReaderDecl.cpp b/clang/lib/Frontend/PCHReaderDecl.cpp index c8851a7ecc0..e494f7c9345 100644 --- a/clang/lib/Frontend/PCHReaderDecl.cpp +++ b/clang/lib/Frontend/PCHReaderDecl.cpp @@ -378,6 +378,8 @@ void PCHDeclReader::VisitObjCInterfaceDecl(ObjCInterfaceDecl *ID) { void PCHDeclReader::VisitObjCIvarDecl(ObjCIvarDecl *IVD) { VisitFieldDecl(IVD); IVD->setAccessControl((ObjCIvarDecl::AccessControl)Record[Idx++]); + bool synth = Record[Idx++]; + IVD->setSynthesize(synth); } void PCHDeclReader::VisitObjCProtocolDecl(ObjCProtocolDecl *PD) { |