* c-common.c (decl_attributes): Take a pointer to the node to
which attributes are to be attached, and a flags argument. * c-common.h (enum attribute_flags): New. (decl_attributes): Update prototype. * c-decl.c (start_decl, push_parm_decl, finish_struct, finish_enum, start_function): Update calls to decl_attributes. * c-parse.in (component_declarator, component_notype_declarator, label): Update calls to decl_attributes. cp: * decl2.c (cplus_decl_attributes): Take a pointer to the node to which attributes are to be attached, and a flags argument. Update call to decl_attributes. (grokfield): Update call to decl_attributes. * class.c (finish_struct): Update call to cplus_decl_attributes. * cp-tree.h (cplus_decl_attributes): Update prototype. * decl.c (start_decl, grokdeclarator, start_function): Update calls to decl_attributes and cplus_decl_attributes. * friend.c (do_friend): Update call to cplus_decl_attributes. * parse.y (parse_bitfield): Update call to cplus_decl_attributes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43995 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- gcc/ChangeLog 11 additions, 0 deletionsgcc/ChangeLog
- gcc/c-common.c 22 additions, 14 deletionsgcc/c-common.c
- gcc/c-common.h 19 additions, 1 deletiongcc/c-common.h
- gcc/c-decl.c 7 additions, 7 deletionsgcc/c-decl.c
- gcc/c-parse.in 7 additions, 7 deletionsgcc/c-parse.in
- gcc/cp/ChangeLog 13 additions, 0 deletionsgcc/cp/ChangeLog
- gcc/cp/class.c 1 addition, 1 deletiongcc/cp/class.c
- gcc/cp/cp-tree.h 1 addition, 1 deletiongcc/cp/cp-tree.h
- gcc/cp/decl.c 5 additions, 5 deletionsgcc/cp/decl.c
- gcc/cp/decl2.c 12 additions, 11 deletionsgcc/cp/decl2.c
- gcc/cp/friend.c 1 addition, 1 deletiongcc/cp/friend.c
- gcc/cp/parse.y 1 addition, 1 deletiongcc/cp/parse.y
Loading
Please register or sign in to comment