• jason's avatar
    * cp-tree.h (TEMPLATE_PARMS_FOR_INLINE): New macro. · 4a330908
    jason authored
    	* 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
    4a330908
pt.c 172 KB