aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaDeclObjC.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-04-06 18:30:00 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-04-06 18:30:00 +0000
commit77c9fd2eee4cdac3c5a38a353788f308990598af (patch)
tree92a5fbdb80d76b2e26a2e2df3c61f10817608910 /lib/Sema/SemaDeclObjC.cpp
parent5529b24500a9cdeb45e9d4482ceb54fc39a7471e (diff)
Fixed visibility issues related to objc2's synthesized
ivars. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68453 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDeclObjC.cpp')
-rw-r--r--lib/Sema/SemaDeclObjC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaDeclObjC.cpp b/lib/Sema/SemaDeclObjC.cpp
index 80d46bcabb..0103393ddc 100644
--- a/lib/Sema/SemaDeclObjC.cpp
+++ b/lib/Sema/SemaDeclObjC.cpp
@@ -1795,7 +1795,7 @@ Sema::DeclPtrTy Sema::ActOnPropertyImplDecl(SourceLocation AtLoc,
if (getLangOptions().ObjCNonFragileABI) {
Ivar = ObjCIvarDecl::Create(Context, CurContext, PropertyLoc,
PropertyIvar, PropType,
- ObjCIvarDecl::Private,
+ ObjCIvarDecl::Public,
(Expr *)0);
property->setPropertyIvarDecl(Ivar);
}