r166455 - in /trunk/gcc: objc/ChangeLog objc/ob...

nicola@gcc.gnu.org nicola@gcc.gnu.org
Mon Nov 8 21:48:00 GMT 2010


Author: nicola
Date: Mon Nov  8 21:47:59 2010
New Revision: 166455

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166455
Log:
In gcc/objc/:
2010-11-08  Nicola Pero  <nicola.pero@meta-innovation.com>

        * objc-act.c (lookup_property): When checking categories, also
        check the protocols attached to each.
        (objc_add_property_declaration): Determine the
        PROPERTY_SETTER_NAME and PROPERTY_GETTER_NAME here.  Tidied up
        error message.  Search for an existing property declaration with
        the same name which would be inherited from the class hiearchy,
        and produce an error if it has incompatible attributes.
        (check_methods): Changed second parameter.  If the method is a
        getter or setter for a property, do not warn if it is inherited as
        opposed to implemented directly in the class.
        (check_protocol): Updated calls to check_methods.
        (finish_class): Do not determine the PROPERTY_SETTER_NAME and
        PROPERTY_GETTER_NAME here; this is now done earlier, in
        objc_add_property_declaration.
        * objc-act.h (CLASS_NAME, CLASS_SUPER_NAME): Added comments.

In gcc/testsuite/:
2010-11-08  Nicola Pero  <nicola.pero@meta-innovation.com>

        * objc.dg/property/at-property-5.m: Updated test.       
        * objc.dg/property/at-property-16.m: New.
        * objc.dg/property/at-property-17.m: New.
        * objc.dg/property/at-property-18.m: New.
        * objc.dg/property/at-property-19.m: New.       
        * objc.dg/property/dotsyntax-12.m: New
        * objc.dg/protocol-inheritance-1.m: New.
        * objc.dg/protocol-inheritance-2.m: New.
        * obj-c++.dg/property/at-property-5.mm: Updated test.
        * obj-c++.dg/property/at-property-16.mm: New.
        * obj-c++.dg/property/at-property-17.mm: New.
        * obj-c++.dg/property/at-property-18.mm: New.
        * obj-c++.dg/property/at-property-19.mm: New.   
        * obj-c++.dg/protocol-inheritance-1.mm: New.
        * obj-c++.dg/protocol-inheritance-2.mm: New.
        * obj-c++.dg/property/dotsyntax-12.mm: New.

Added:
    trunk/gcc/testsuite/obj-c++.dg/property/at-property-16.mm
    trunk/gcc/testsuite/obj-c++.dg/property/at-property-17.mm
    trunk/gcc/testsuite/obj-c++.dg/property/at-property-18.mm
    trunk/gcc/testsuite/obj-c++.dg/property/at-property-19.mm
    trunk/gcc/testsuite/obj-c++.dg/property/dotsyntax-12.mm
    trunk/gcc/testsuite/obj-c++.dg/protocol-inheritance-1.mm
    trunk/gcc/testsuite/obj-c++.dg/protocol-inheritance-2.mm
    trunk/gcc/testsuite/objc.dg/property/at-property-16.m
    trunk/gcc/testsuite/objc.dg/property/at-property-17.m
    trunk/gcc/testsuite/objc.dg/property/at-property-18.m
    trunk/gcc/testsuite/objc.dg/property/at-property-19.m
    trunk/gcc/testsuite/objc.dg/property/dotsyntax-12.m
    trunk/gcc/testsuite/objc.dg/protocol-inheritance-1.m
    trunk/gcc/testsuite/objc.dg/protocol-inheritance-2.m
Modified:
    trunk/gcc/objc/ChangeLog
    trunk/gcc/objc/objc-act.c
    trunk/gcc/objc/objc-act.h
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/obj-c++.dg/property/at-property-5.mm
    trunk/gcc/testsuite/objc.dg/property/at-property-5.m



More information about the Gcc-cvs mailing list