]> granicus.if.org Git - clang/commit
Fix <rdar://problem/6697053> instance variable is protected.
authorSteve Naroff <snaroff@apple.com>
Thu, 26 Mar 2009 16:01:08 +0000 (16:01 +0000)
committerSteve Naroff <snaroff@apple.com>
Thu, 26 Mar 2009 16:01:08 +0000 (16:01 +0000)
commit8bfd1b8c36c88fd15c39185b3494dd30a001cfb3
tree56fec7104f94d4a430e3e6c48af07045e4029685
parentd73fe9b70c5f6738d004744562287a62831f39bf
Fix <rdar://problem/6697053> instance variable is protected.

Treat @package the same as @public. The documentation for @package says it is analogous to private_extern for variables/functions. Fully implementing this requires some kind of linker support (so access is denied to code outside the classes executable image). I don't believe GCC fully implements this semantic. Will discuss with Fariborz offline.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67755 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExpr.cpp
test/SemaObjC/ivar-access-package.m [new file with mode: 0644]