summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/PCHReaderDecl.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2010-07-17 18:35:47 +0000
committerFariborz Jahanian <fjahanian@apple.com>2010-07-17 18:35:47 +0000
commitaea8e1e3d2a8f6481a36a136cdbaa0079e200d99 (patch)
treef82459ea0f4b06bda49aa8f45ac6db35adb60ed3 /clang/lib/Frontend/PCHReaderDecl.cpp
parent52183439703bea30d59039f61a8a6b90ddeb74b7 (diff)
downloadbcm5719-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.cpp2
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) {
OpenPOWER on IntegriCloud