OSDN Git Service

In gcc/objc/:
authornicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Dec 2010 08:59:29 +0000 (08:59 +0000)
committernicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Dec 2010 08:59:29 +0000 (08:59 +0000)
commite488ff217f90d3f862b82be452e5dbcb841b68ad
tree4d9b2cd60bffdd427dbbe13e6d69e05e66c25ae2
parentb7d908318bfe68c3ac9ce30a8cbb2990b24b5d55
In gcc/objc/:
2010-12-30  Nicola Pero  <nicola@nicola.brainstorm.co.uk>

* objc-act.c (start_class): Warn when a class attribute is
ignored.
(objc_declare_protocols): Warn when a protocol attribute in a
protocol forward-declaration is ignored.
(start_protocol): Warn when a protocol attribute is ignored.

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

* objc.dg/attributes/class-attribute-3.m: New.
* objc.dg/attributes/proto-attribute-4.m: New.
* obj-c++.dg/attributes/class-attribute-3.mm: New.
* obj-c++.dg/attributes/proto-attribute-4.mm: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168337 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/objc/ChangeLog
gcc/objc/objc-act.c
gcc/testsuite/ChangeLog
gcc/testsuite/obj-c++.dg/attributes/class-attribute-3.mm [new file with mode: 0644]
gcc/testsuite/obj-c++.dg/attributes/proto-attribute-4.mm [new file with mode: 0644]
gcc/testsuite/objc.dg/attributes/class-attribute-3.m [new file with mode: 0644]
gcc/testsuite/objc.dg/attributes/proto-attribute-4.m [new file with mode: 0644]