• jason's avatar
    * typeck.c (comptypes, case TEMPLATE_TEMPLATE_PARM): Add parameter · 9e5bd773
    jason authored
    	comparison.
    	* pt.c (for_each_template_parm, case TEMPLATE_DECL): If it is a
    	template template parameter, record its use.
    	(for_each_template_parm, case TEMPLATE_TEMPLATE_PARM): Traverse
    	its template arguments if exists.
    	* pt.c (coerce_template_template_parms): New function equivalent
    	to coerce_template_parms when IS_TMPL_PARM is true.
    	(coerce_template_parms): Use it.  Remove the IS_TMPL_PARM parameter,
    	all callers changed.
    	(coerce_template_parms): Access ARGLIST properly when creating a
    	new vector.  Only accept implicit TYPE_DECL as valid argument for
    	a template template parameter when it is a base class of
    	current_class_type.  Don't display error message when COMPLAIN is
    	false.
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21073 138bc75d-0d04-0410-961f-82ee72b054a4
    9e5bd773
pt.c 205 KB