mangle.c (DECL_TEMPLATE_ID_P): Remove.
authorAlex Samuel <samuel@codesourcery.com>
Sun, 30 Jul 2000 23:37:04 +0000 (23:37 +0000)
committerAlex Samuel <samuel@gcc.gnu.org>
Sun, 30 Jul 2000 23:37:04 +0000 (23:37 +0000)
commit722bed0f9c974333c40bb3a6ed99c3a3f25162d0
treeba7a10bab18f248255919c0c392770a86e35ff54
parent4e07a9eadbf4c8bf943964c95a664494508cc28e
mangle.c (DECL_TEMPLATE_ID_P): Remove.

* mangle.c (DECL_TEMPLATE_ID_P): Remove.
(CLASSTYEP_TEMPLATE_ID_P): Check template info, and context when
ascertaining primaryness.
(G): Remove template_args.
(decl_is_template_id): New function.
(write_encoding): Use decl_is_template_id.
(write_name): Likewise.  Handle type_decls.  Get main variant of
type decls.
(write_nested_name): Likewise.
(write_prefix): Likewise.
(write_template_prefix): Likewise.
(write_special_name_constructor): Remove defunct production from
comment.
(write_bare_function_type): Remove comment about absent parameter.
(write_template_template_arg): Add missing grammar production to
comment.

From-SVN: r35355
gcc/cp/ChangeLog
gcc/cp/mangle.c