cp-tree.h (constructor_name_p): Declare it.
authorMark Mitchell <mark@codesourcery.com>
Tue, 9 Jul 2002 23:31:28 +0000 (23:31 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 9 Jul 2002 23:31:28 +0000 (23:31 +0000)
commit8ba658eea52678d0a049c01fbf3c3db5e32a1302
treebc0383f03a6b2e0da9add1f256bd39687fc76c45
parent2fefbb5dbcc965480e733fa2ca20750eea2f7bc2
cp-tree.h (constructor_name_p): Declare it.

* cp-tree.h (constructor_name_p): Declare it.
(check_template_template_default_arg): Likewise.
* class.c (handle_using_decl): Use constructor_name_p.
* decl.c (grokdeclarator): Likewise.
* decl2.c (constructor_name_p): Define it.
* init.c (build_member_call): Use constructor_name_p.
* parse.y (template_parm): Use check_template_template_default_arg.
* pt.c (check_explicit_specialization): Use constructor_name_p.
* semantics.c (check_template_template_default_arg): New function.

From-SVN: r55350
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/init.c
gcc/cp/parse.y
gcc/cp/pt.c
gcc/cp/semantics.c