diff options
author | Nicola Pero <nicola.pero@meta-innovation.com> | 2010-11-08 22:38:04 +0000 |
---|---|---|
committer | Nicola Pero <nicola@gcc.gnu.org> | 2010-11-08 22:38:04 +0000 |
commit | d36dba07390dd63b6ac1a8b531cc6864605c56eb (patch) | |
tree | 6d9394924935e5c8e58b7b3ad2e852031f2886e7 /gcc/objc/objc-act.h | |
parent | 4741888d0321172ac91ee71c6a035d1048b49f39 (diff) | |
download | gcc-d36dba07390dd63b6ac1a8b531cc6864605c56eb.zip gcc-d36dba07390dd63b6ac1a8b531cc6864605c56eb.tar.gz gcc-d36dba07390dd63b6ac1a8b531cc6864605c56eb.tar.bz2 |
In gcc/objc/: 2010-11-08 Nicola Pero <nicola.pero@meta-innovation.com>
In gcc/objc/:
2010-11-08 Nicola Pero <nicola.pero@meta-innovation.com>
* objc-act.c (objc_add_dynamic_declaration_for_property): Do not
search for the @property declation only in the current context,
but also in inherited properties. Do not mark the original
PROPERTY_DECL in the @interface or @protocol with
PROPERTY_DYNAMIC.
(check_methods): To check if a method is associated with a
@dynamic property, search for the property in IMPL_PROPERTY_DECL.
(check_accessible_methods): Same change.
* objc-act.h: Updated comment.
In gcc/testsuite/:
2010-11-08 Nicola Pero <nicola.pero@meta-innovation.com>
* objc.dg/property/dynamic-4.m: New.
* objc.dg/property/dynamic-5.m: New.
* objc.dg/property/dynamic-6.m: New.
* obj-c++.dg/property/dynamic-4.mm: New.
* obj-c++.dg/property/dynamic-5.mm: New.
* obj-c++.dg/property/dynamic-6.mm: New.
2010-11-08 Nicola Pero <nicola.pero@meta-innovation.com>
* objc.dg/property/dotsyntax-13.m: New.
* objc.dg/property/dotsyntax-14.m: New.
* objc.dg/property/dotsyntax-15.m: New.
* objc.dg/property/synthesize-7.m: New.
* obj-c++.dg/property/dotsyntax-13.mm: New.
* obj-c++.dg/property/dotsyntax-14.mm: New.
* obj-c++.dg/property/dotsyntax-15.mm: New.
* obj-c++.dg/property/synthesize-7.mm: New.
From-SVN: r166457
Diffstat (limited to 'gcc/objc/objc-act.h')
-rw-r--r-- | gcc/objc/objc-act.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/objc/objc-act.h b/gcc/objc/objc-act.h index 9171708..276b33f 100644 --- a/gcc/objc/objc-act.h +++ b/gcc/objc/objc-act.h @@ -100,8 +100,7 @@ typedef enum objc_property_assign_semantics { #define PROPERTY_IVAR_NAME(DECL) ((DECL)->decl_common.initial) /* PROPERTY_DYNAMIC can be 0 or 1. This is 1 if the PROPERTY_DECL - represents a @dynamic (or if it is a @property for which a @dynamic - declaration has been parsed); otherwise, it is set to 0. */ + represents a @dynamic; otherwise, it is set to 0. */ #define PROPERTY_DYNAMIC(DECL) DECL_LANG_FLAG_2 (DECL) /* PROPERTY_HAS_NO_GETTER can be 0 or 1. Normally it is 0, but if |