]> gcc.gnu.org Git - gcc.git/commit - gcc/cp/cp-tree.h
cp-tree.h (TEMPLATE_PARMS_FOR_INLINE): New macro.
authorJason Merrill <jason@gcc.gnu.org>
Sun, 15 Mar 1998 19:53:08 +0000 (14:53 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Sun, 15 Mar 1998 19:53:08 +0000 (14:53 -0500)
commitcae40af6efc85015875dbf8e5e2210b72d86817a
tree2a8621eaf504c708241d915989f17d6f255cce84
parentdebf0b88ab260279da12f41a5c7dfea59be6c036
cp-tree.h (TEMPLATE_PARMS_FOR_INLINE): New macro.

* cp-tree.h (TEMPLATE_PARMS_FOR_INLINE): New macro.
* pt.c (inline_needs_template_parms): New fn.
(original_template): New fn.
(push_inline_template_parms_recursive): New fn.
(maybe_begin_member_template_processing): Use them.
(maybe_end_member_template_processing): Likewise.
(is_member_or_friend_template): Rename to is_member_template.
Member functions of local classes are never member templates.
* lex.c (do_identifier): Handle TEMPLATE_DECL that was
added in the class scope to catch redefinition error.
* pt.c (reduce_template_parm_level): Also copy
the DECL_TEMPLATE_PARMS field.

From-SVN: r18595
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/lex.c
gcc/cp/pt.c
This page took 0.05754 seconds and 5 git commands to generate.