cp:
commitb5959ba9fa374c913d96f39b22a0b2c7d921d77b
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 10 Aug 2003 15:10:35 +0000 (10 15:10 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 10 Aug 2003 15:10:35 +0000 (10 15:10 +0000)
tree109c3a497d9166c241c1e9e9f64cc98e907d59a6
parentaa616daf0150673f959f4f82550ac1e1f248851f
cp:
* cp-tree.h (TMPL_ARGS_HAVE_MULTIPLE_LEVELS): non-NULL
NODE is always a TREE_VEC of non-zero size.
(NUM_TMPL_ARGS): NODE is always a TREE_VEC.
* decl2.c (arg_assoc): Template args will be a vec.
* error.c (dump_decl) <TEMPLATE_ID_EXPR case>: Call
dump_template_argument_list.
(dump_template_parms): Args will be a vec.
* parser.c (cp_parser_template_argument_list): Produce a
vector, not a list.
* pt.c (coerce_template_parms): Args are always vectors.
(mangle_class_name_for_template): Likewise.
(lookup_template_function): Likewise.
(lookup_template_class): Likewise.
(tsubst_template_args): Likewise.
(tsubst_baselink): Use tsubst_template_args.
(tsubst_qualified_id): Likewise.
(tsubst_copy) <TEMPLATE_ID_EXPR case>: Likewise.
(tsubst_copy_and_build) <TEMPLATE_ID_EXPR case>: Likewise.
(any_dependent_template_args_p):  Args are always vectors.
* tree.c (cp_tree_equal): Add TEMPLATE_ID_EXPR case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70295 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.def
gcc/cp/cp-tree.h
gcc/cp/decl2.c
gcc/cp/error.c
gcc/cp/parser.c
gcc/cp/pt.c
gcc/cp/tree.c