]> git.ipfire.org Git - thirdparty/gcc.git/commit
In gcc/objc/:
authornicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Nov 2010 22:23:22 +0000 (22:23 +0000)
committernicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Nov 2010 22:23:22 +0000 (22:23 +0000)
commitc1cfb0f5494c97f87a962223869462cdef6d112e
tree61b8716b8764294b3d8406542d9a1218c831fe48
parent8cc5f86b3b194c6bd880cfe1c1be261116e3e130
In gcc/objc/:
2010-11-19  Nicola Pero  <nicola.pero@meta-innovation.com>

        * objc-act.c (objc_start_class_interface): Do not warn that class
        attributes are unimplemented.  Pass the attributes to start_class.
        (objc_start_category_interface): Updated call to start_class.
        (objc_start_class_implementation): Same change.
        (objc_start_category_implementation): Same change.
        (objc_build_class_component_ref): Warn if the class is deprecated.
        (build_private_template): Mark the template as deprecated if the
        class is deprecated.
        (start_class): Added 'attributes' argument.  Emit a warning if
        using a deprecated class as superclass of a class, or original
        class of a category.  Recognize the 'deprecated' attribute when
        starting and interface, and mark the interface with
        TREE_DEPRECATED if present.  Store attributes in the interface.

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

        * objc.dg/attributes/class-attribute-1.m: Rewritten.
        * objc.dg/attributes/class-attribute-2.m: Same change.
        * obj-c++.dg/attributes/class-attribute-1.mm: Same change.
        * obj-c++.dg/attributes/class-attribute-2.mm: Same change.
        * objc.dg/fobjc-std-1.m: Updated.
        * obj-c++.dg/fobjc-std-1.mm: Updated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166963 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/objc/ChangeLog
gcc/objc/objc-act.c
gcc/testsuite/ChangeLog
gcc/testsuite/obj-c++.dg/attributes/class-attribute-1.mm
gcc/testsuite/obj-c++.dg/attributes/class-attribute-2.mm
gcc/testsuite/obj-c++.dg/fobjc-std-1.mm
gcc/testsuite/objc.dg/attributes/class-attribute-1.m
gcc/testsuite/objc.dg/attributes/class-attribute-2.m
gcc/testsuite/objc.dg/fobjc-std-1.m