diff options
author | Mark Mitchell <mark@codesourcery.com> | 1999-03-27 17:33:36 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-03-27 17:33:36 +0000 |
commit | 0c0aac2fecce30d1c71554169446cae25f079234 (patch) | |
tree | 60ca8cc353fd96a0c775f1b61e4833ed942c36b0 /gcc/function.c | |
parent | f099f336d1933243103b460498b49c7b7314d2be (diff) | |
download | gcc-0c0aac2fecce30d1c71554169446cae25f079234.zip gcc-0c0aac2fecce30d1c71554169446cae25f079234.tar.gz gcc-0c0aac2fecce30d1c71554169446cae25f079234.tar.bz2 |
cp-tree.h (add_friend): Declare.
* cp-tree.h (add_friend): Declare.
(add_friends): Likewise.
* friend.c (add_friend): Make it global. Don't add to
DECL_BEFRIENDING_CLASSES if the befriending class is a template.
(add_friends): Make it global.
(make_friend_class): Don't add to DECL_BEFRIENDING_CLASSES if the
befriending class is a template.
* parse.y (component_decl_1): Fix typo in comment.
* parse.c: Regenerated.
* pt.c (instantiate_class_template): Use add_friend and
add_friends rather that duplicating some of their functionality
here.
From-SVN: r26020
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions