OSDN Git Service

* cp-tree.h (TEMPLATE_PARMS_FOR_INLINE): New macro.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 15 Mar 1998 19:53:08 +0000 (19:53 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 15 Mar 1998 19:53:08 +0000 (19:53 +0000)
commit4a330908ee6ee767e3063f468b8b78b5ec48eafe
tree2a8621eaf504c708241d915989f17d6f255cce84
parentfb92e33a1af672326c53dae384adee56304467fb
* 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.

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