cp-tree.h (tsubst): Change prototype.
authorMark Mitchell <mark@markmitchell.com>
Tue, 16 Feb 1999 11:32:51 +0000 (11:32 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 16 Feb 1999 11:32:51 +0000 (11:32 +0000)
commit4393e10527c91ec9238ce2fdef4f731b8f56bed8
treebc0020fd59d920a002297e4d2c3f25a2f54ef4e3
parent0c20d3d607573ae0f71bf1289f9ba1fd69225981
cp-tree.h (tsubst): Change prototype.

* cp-tree.h (tsubst): Change prototype.
(tsubst_expr): Likewise.
(tsubst_copy): Likewise.
(type_unification): Remove prototype.
* call.c (convert_default_arg): Adjust call to tsubst_expr.
* class.c (resolve_address_of_overloaded_function): Just use
fn_type_unification.
* decl.c (grokdeclarator): Adjust call to tsubst.
* method.c (build_template_parm_names): Likewise.
* pt.c (GTB_VIA_VIRTUAL): New macro.
(GTB_IGNORE_TYPE): Likewise.
(resolve_overloaded_unification): Add `complain' parameter.
(try_one_overload): Likewise.
(tsubst_template_arg_vector): Likewise.
(tsubst_template_parms): Likewise.
(tsubst_aggr_type): Likewise.
(tsubst_arg_types): Likewise.
(tsubst_call_declarator_parms): Likewise.
(unify): Remove explicit_mask.
(type_unification_real): Likewise.
(get_template_base_recursive): Likewise.
(coerce_template_template_parms): Provide prototype.
(tsubst_function_type): Likewise.
(try_class_unification): New function.
All callers changed to use new complain parameter.
(get_template_base): Use try_class_unification.
(unify): Adjust handling of classes derived from template types.
(fn_type_unification): Substitute explicit arguments before
unification.

From-SVN: r25243
12 files changed:
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/method.c
gcc/cp/pt.c
gcc/testsuite/g++.old-deja/g++.pt/explicit22.C
gcc/testsuite/g++.old-deja/g++.pt/explicit77.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/explicit78.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/explicit79.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/expr7.C [new file with mode: 0644]