aboutsummaryrefslogtreecommitdiff
path: root/gcc/lambda-code.c
diff options
context:
space:
mode:
authorNicola Pero <nicola.pero@meta-innovation.com>2010-11-19 22:23:22 +0000
committerNicola Pero <nicola@gcc.gnu.org>2010-11-19 22:23:22 +0000
commitd4e72c58e36abe902834d122b291a91debd5625c (patch)
tree61b8716b8764294b3d8406542d9a1218c831fe48 /gcc/lambda-code.c
parent39986460d63899e1e4a1a9ee976c9c21c338f643 (diff)
downloadgcc-d4e72c58e36abe902834d122b291a91debd5625c.zip
gcc-d4e72c58e36abe902834d122b291a91debd5625c.tar.gz
gcc-d4e72c58e36abe902834d122b291a91debd5625c.tar.bz2
In gcc/objc/: 2010-11-19 Nicola Pero <nicola.pero@meta-innovation.com>
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. From-SVN: r166963
Diffstat (limited to 'gcc/lambda-code.c')
0 files changed, 0 insertions, 0 deletions