Go to file
Iain Sandoe f7e71da52f add parsing for ObjC* method & method parm attributes
gcc/cp:
	
	Partially merged from apple/trunk branch on FSF servers:
	2006-04-26 Fariborz Jahanian <fjahanian@apple.com>
	Radar 3803157 (method attributes)

	* parser.c (cp_parser_objc_method_keyword_params): Handle attributes.
	(cp_parser_objc_method_tail_params_opt): Likewise.
	(cp_parser_objc_method_signature): Likewise.
	(cp_parser_objc_method_maybe_bad_prefix_attributes): New.
	(cp_parser_objc_method_prototype_list): Handle attributes.
	(cp_parser_objc_method_definition_list): Likewise.

gcc/objc:
	
	* objc-act.c (objc_add_method_declaration): Handle attributes.
	(objc_start_method_definition): Likewise.
	(objc_generate_cxx_ctor_or_dtor): Pass NULL attributes to ctor/dtor.
	(objc_build_keyword_decl): Handle attributes.

gcc:

	* c-parser.c (c_parser_declaration_or_fndef): Diagnose incorrect prefix
	attributes on methods.
	 (c_parser_objc_method_definition): Handle attributes.
	(c_parser_objc_methodproto): Likewise.
	(c_parser_objc_maybe_method_attributes): New.
	(c_parser_objc_method_decl): Handle attributes, add a similar diagnostic
	to ObjC++ for a missing definition.

gcc/c-family:
	
	* c-common.h: Update declarations to include attributes.
	* stub-objc.c: Likewise.

testsuite:

	* objc.dg/attributes/method-attribute-1.m: New.
	* objc.dg/attributes/method-attribute-2.m: New.

	* obj-c++.dg/attributes/method-attribute-1.m: New.
	* obj-c++.dg/attributes/method-attribute-2.m: New.

From-SVN: r164702
2010-09-28 21:02:38 +00:00
boehm-gc
config Fix unportable shell quoting. 2010-09-27 20:19:41 +00:00
contrib Fix unportable shell quoting. 2010-09-27 20:19:41 +00:00
fixincludes
gcc add parsing for ObjC* method & method parm attributes 2010-09-28 21:02:38 +00:00
gnattools
include
INSTALL
intl Fix unportable shell quoting. 2010-09-27 20:19:41 +00:00
libada
libcpp
libdecnumber
libffi
libgcc i386.c (ix86_supports_split_stack): -fsplit-stack requires assembler support for CFI directives. 2010-09-28 00:07:12 +00:00
libgfortran
libgomp
libiberty
libjava Regenerate libjava Makefile.in files. 2010-09-27 19:21:19 +00:00
libmudflap
libobjc In gcc/: 2010-09-27 Nicola Pero <nicola.pero@meta-innovation.com> 2010-09-27 19:22:13 +00:00
libssp
libstdc++-v3 chi2_quality.cc: New. 2010-09-28 10:35:53 +00:00
lto-plugin
maintainer-scripts
zlib
ABOUT-NLS
ChangeLog Add self to MAINTAINERS for MicroBlaze CPU port. 2010-09-28 18:58:54 +00:00
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure Fix unportable shell quoting. 2010-09-27 20:19:41 +00:00
configure.ac Fix unportable shell quoting. 2010-09-27 20:19:41 +00:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS Add self to MAINTAINERS for MicroBlaze CPU port. 2010-09-28 18:58:54 +00:00
Makefile.def
Makefile.in
Makefile.tpl
missing
mkdep
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.