diff options
author | Richard Sandiford <richard@codesourcery.com> | 2007-09-12 13:16:42 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2007-09-12 13:16:42 +0000 |
commit | b9baeecdcc22a80357e232383421c6cb0cd3ab69 (patch) | |
tree | 3cb5e6af2cd22e35ac9a75b750a8820ca617d258 /gcc/ada/utils.c | |
parent | ed557735d747bae60ca5d1c7f9f04088eaba5f69 (diff) | |
download | gcc-b9baeecdcc22a80357e232383421c6cb0cd3ab69.zip gcc-b9baeecdcc22a80357e232383421c6cb0cd3ab69.tar.gz gcc-b9baeecdcc22a80357e232383421c6cb0cd3ab69.tar.bz2 |
c-tree.h (grokfield): Add a "tree *" argument.
gcc/
* c-tree.h (grokfield): Add a "tree *" argument.
* c-decl.c (grokdeclarator): Take a pointer to the decl's attributes.
Chain nested decl attributes to it. Don't call decl_attributes here.
(groktypename): Pass grokdeclarator a pointer to the attribute list.
(start_decl, grokparm, push_parm_decl, start_function): Likewise.
(grokfield): Take a pointer to the decl's attributes and pass
it to grokdeclarator.
* c-parser.c (c_parser_struct_declaration): Update the calls to
grokfield. Call decl_attributes for anonymous struct and union
fields.
From-SVN: r128437
Diffstat (limited to 'gcc/ada/utils.c')
0 files changed, 0 insertions, 0 deletions