This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: insert_default_attributes langhook
- From: Richard Henderson <rth at redhat dot com>
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 27 Mar 2002 14:45:24 -0800
- Subject: Re: insert_default_attributes langhook
- References: <20020327201841.GA11650@daikokuya.demon.co.uk>
On Wed, Mar 27, 2002 at 08:18:41PM +0000, Neil Booth wrote:
> * Makefile.in (attribs.o): Update.
> * attribs.c: Include langhooks.h.
> (decl_attributes): Use langhook.
> * c-decl.c (insert_default_attributes): Rename.
> * c-tree.h (c_insert_default_attributes): New.
> * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES):New.
> (LANG_HOOKS_INITIALIZER): Update.
> * langhooks.h (struct lang_hooks): New hook.
> * tree.h (insert_default_attributes): Remove.
> ada:
> * misc.c (insert_default_attributes): Remove.
> cp:
> * cp-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Redefine.
> * cp-tree.h (cxx_insert_default_attributes): New.
> * decl.c (insert_default_attributes): Rename.
> objc:
> * objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Redefine.
Ok.
r~