cp-tree.h (cp_cv_quals): New type.
authorMark Mitchell <mark@codesourcery.com>
Sun, 27 Jun 2004 03:03:55 +0000 (03:03 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 27 Jun 2004 03:03:55 +0000 (03:03 +0000)
commit3c01e5dffbd8ec9480e84f055869b5977d7c4396
treef25fb279892e6b2a46ef55fac1e66d9a3a38c238
parent808fd801de9700471d99876e2ff4be467b8096f2
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
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/friend.c
gcc/cp/method.c
gcc/cp/parser.c