mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-12 05:13:50 +08:00
Fix compilation.
* cp-tree.h (get_template_parms_at_level): Change unsigned parm into int. * pt.c (get_template_parms_at_level): Adjust. From-SVN: r157743
This commit is contained in:
parent
46bc665fe4
commit
3910807d39
@ -1,3 +1,9 @@
|
||||
2010-03-26 Dodji Seketeli <dodji@redhat.com>
|
||||
|
||||
* cp-tree.h (get_template_parms_at_level): Change unsigned parm
|
||||
into int.
|
||||
* pt.c (get_template_parms_at_level): Adjust.
|
||||
|
||||
2010-03-25 Dodji Seketeli <dodji@redhat.com>
|
||||
|
||||
PR c++/43206
|
||||
|
@ -4973,7 +4973,7 @@ extern void init_template_processing (void);
|
||||
bool template_template_parameter_p (const_tree);
|
||||
extern bool primary_template_instantiation_p (const_tree);
|
||||
extern tree get_primary_template_innermost_parameters (const_tree);
|
||||
extern tree get_template_parms_at_level (tree, unsigned);
|
||||
extern tree get_template_parms_at_level (tree, int);
|
||||
extern tree get_template_innermost_arguments (const_tree);
|
||||
extern tree get_template_argument_pack_elems (const_tree);
|
||||
extern tree get_function_template_decl (const_tree);
|
||||
|
@ -2843,7 +2843,7 @@ get_primary_template_innermost_parameters (const_tree t)
|
||||
of template parameters PARMS. */
|
||||
|
||||
tree
|
||||
get_template_parms_at_level (tree parms, unsigned level)
|
||||
get_template_parms_at_level (tree parms, int level)
|
||||
{
|
||||
tree p;
|
||||
if (!parms
|
||||
|
Loading…
Reference in New Issue
Block a user