aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/friend.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2004-06-27 03:03:55 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2004-06-27 03:03:55 +0000
commit3c01e5dffbd8ec9480e84f055869b5977d7c4396 (patch)
treef25fb279892e6b2a46ef55fac1e66d9a3a38c238 /gcc/cp/friend.c
parent808fd801de9700471d99876e2ff4be467b8096f2 (diff)
downloadgcc-3c01e5dffbd8ec9480e84f055869b5977d7c4396.zip
gcc-3c01e5dffbd8ec9480e84f055869b5977d7c4396.tar.gz
gcc-3c01e5dffbd8ec9480e84f055869b5977d7c4396.tar.bz2
cp-tree.h (cp_cv_quals): New type.
* cp-tree.h (cp_cv_quals): New type. (cp_declarator): Use it instead of "tree" as appropriate. (grok_method_quals): Adjust prototype. (grokclassfn): Likewise. (do_friend): Likewise. * decl.c (grokfndecl): Use cp_cv_quals, not tree. (grokdeclarator): Likewise. * decl2.c (grok_method_quals): Likewise. (grokclassfn): Likewise. * friend.c (do_friend): Likewise. * method.c (implicitly_declare_fn): Adjust call to grokclassfn. * parser.c (make_call_declarator): Use cp_cv_quals, not tree. (make_pointer_declarator): Likewise. (make_reference_declarator): Likewise. (make_ptrmem_declarator): Likewise. (cp_parser_ptr_operator): Likewise. (cp_parser_cv_qualifier_seq_opt): Likewise. (cp_parser_cv_qualifier_opt): Remove. (cp_parser_new_declarator_opt): Adjust call to cp_parser_ptr_operator. (cp_parser_conversion_declaration_opt): Likewise. (cp_parser_declarator): Use cp_cv_quals, not tree. (cp_parser_direct_declarator): Likewise. From-SVN: r83729
Diffstat (limited to 'gcc/cp/friend.c')
-rw-r--r--gcc/cp/friend.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cp/friend.c b/gcc/cp/friend.c
index f815b99..faf558c 100644
--- a/gcc/cp/friend.c
+++ b/gcc/cp/friend.c
@@ -325,7 +325,8 @@ make_friend_class (tree type, tree friend_type, bool complain)
tree
do_friend (tree ctype, tree declarator, tree decl,
- tree attrlist, enum overload_flags flags, tree quals,
+ tree attrlist, enum overload_flags flags,
+ cp_cv_quals quals,
int funcdef_flag)
{
/* Every decl that gets here is a friend of something. */