diff options
author | nicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-17 21:52:09 +0000 |
---|---|---|
committer | nicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-17 21:52:09 +0000 |
commit | f15f2e565f60086a06501385a941899fb4b6fb7b (patch) | |
tree | 2d6e2e2e27434afe6a8c78faa3fe2eabe7e5ee36 /gcc/c-family/stub-objc.c | |
parent | b1572e0950a6dba2398648f0781cdbd669b8413f (diff) | |
download | gcc-f15f2e565f60086a06501385a941899fb4b6fb7b.tar.gz |
In gcc/:
2010-10-17 Nicola Pero <nicola.pero@meta-innovation.com>
Merge from 'apple/trunk' branch on FSF servers.
2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
Radar 4133425
* c-decl.c (undeclared_variable): Issue diagnostic on
private 'ivar' access.
In gcc/c-family/:
2010-10-17 Nicola Pero <nicola.pero@meta-innovation.com>
Merge from 'apple/trunk' branch on FSF servers.
2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
Radar 4133425
* c-common.h (objc_diagnose_private_ivar): New decl.
* stub-objc.c (objc_diagnose_private_ivar): New stub.
In gcc/cp/:
2010-10-17 Nicola Pero <nicola.pero@meta-innovation.com>
Merge from apple/trunk branch on FSF servers.
2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
Radar 4133425
* lex.c (unqualified_name_lookup_error): Issue diagnostic
for private 'ivar' access.
In gcc/objc/:
2010-10-17 Nicola Pero <nicola.pero@meta-innovation.com>
Merge from 'apple/trunk' branch on FSF servers.
2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
Radar 4133425
* objc-act.c (objc_diagnose_private_ivar): New.
In gcc/testsuite/:
2010-10-17 Nicola Pero <nicola.pero@meta-innovation.com>
Merge from 'apple/trunk' branch on FSF servers.
2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
Radar 4133425
* objc.dg/private-1.m: Test modified.
* obj-c++.dg/private-1.mm: Test modified.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165601 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-family/stub-objc.c')
-rw-r--r-- | gcc/c-family/stub-objc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/c-family/stub-objc.c b/gcc/c-family/stub-objc.c index cff4d79267e..c6a8cfad4e6 100644 --- a/gcc/c-family/stub-objc.c +++ b/gcc/c-family/stub-objc.c @@ -44,6 +44,11 @@ objc_is_object_ptr (tree ARG_UNUSED (arg)) return 0; } +bool objc_diagnose_private_ivar (tree ARG_UNUSED (arg)) +{ + return false; +} + tree objc_lookup_ivar (tree other, tree ARG_UNUSED (arg)) { |