OSDN Git Service

In gcc/objc/:
authornicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Nov 2010 22:38:04 +0000 (22:38 +0000)
committernicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Nov 2010 22:38:04 +0000 (22:38 +0000)
commit99da7d7e3f62fe5205a735f2998dafbcd83bec21
tree6d9394924935e5c8e58b7b3ad2e852031f2886e7
parentc84ce30ab797252d51a4e5366be0d8cc6ade7057
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166457 138bc75d-0d04-0410-961f-82ee72b054a4
18 files changed:
gcc/objc/ChangeLog
gcc/objc/objc-act.c
gcc/objc/objc-act.h
gcc/testsuite/ChangeLog
gcc/testsuite/obj-c++.dg/property/dotsyntax-13.mm [new file with mode: 0644]
gcc/testsuite/obj-c++.dg/property/dotsyntax-14.mm [new file with mode: 0644]
gcc/testsuite/obj-c++.dg/property/dotsyntax-15.mm [new file with mode: 0644]
gcc/testsuite/obj-c++.dg/property/dynamic-4.mm [new file with mode: 0644]
gcc/testsuite/obj-c++.dg/property/dynamic-5.mm [new file with mode: 0644]
gcc/testsuite/obj-c++.dg/property/dynamic-6.mm [new file with mode: 0644]
gcc/testsuite/obj-c++.dg/property/synthesize-7.mm [new file with mode: 0644]
gcc/testsuite/objc.dg/property/dotsyntax-13.m [new file with mode: 0644]
gcc/testsuite/objc.dg/property/dotsyntax-14.m [new file with mode: 0644]
gcc/testsuite/objc.dg/property/dotsyntax-15.m [new file with mode: 0644]
gcc/testsuite/objc.dg/property/dynamic-4.m [new file with mode: 0644]
gcc/testsuite/objc.dg/property/dynamic-5.m [new file with mode: 0644]
gcc/testsuite/objc.dg/property/dynamic-6.m [new file with mode: 0644]
gcc/testsuite/objc.dg/property/synthesize-7.m [new file with mode: 0644]