diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-13 20:40:43 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-13 20:40:43 +0000 |
commit | 9581e01c5a90b689f5d6af5378b5c1c7305b1688 (patch) | |
tree | 7344925821f5f63d7da1217406a45dd134918cfd /gcc/cp/friend.c | |
parent | cb3d02c0ed928b1c1a98a7df49274835eb4e6133 (diff) | |
download | gcc-9581e01c5a90b689f5d6af5378b5c1c7305b1688.tar.gz |
* 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
Diffstat (limited to 'gcc/cp/friend.c')
-rw-r--r-- | gcc/cp/friend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/friend.c b/gcc/cp/friend.c index c27a73ecc2c..f7ff9848a6f 100644 --- a/gcc/cp/friend.c +++ b/gcc/cp/friend.c @@ -447,7 +447,7 @@ do_friend (ctype, declarator, decl, parmdecls, attrlist, } /* Set attributes here so if duplicate decl, will have proper attributes. */ - cplus_decl_attributes (decl, attributes, prefix_attributes); + cplus_decl_attributes (&decl, attributes, prefix_attributes, 0); return decl; } |