Commit 1a4109b6 by Adam Butcher Committed by Adam Butcher

Generate more intuitive name for 'auto' parameters.

	* parser.c (make_generic_type_name): Spell generic type names '<autoN>'
	rather than '__GenN'.

From-SVN: r202849
parent 162b25fa
2013-09-23 Adam Butcher <adam@jessamine.co.uk> 2013-09-23 Adam Butcher <adam@jessamine.co.uk>
* parser.c (make_generic_type_name): Spell generic type names '<autoN>'
rather than '__GenN'.
2013-09-23 Adam Butcher <adam@jessamine.co.uk>
* lambda.c (maybe_add_lambda_conv_op): Don't check for instantiated * lambda.c (maybe_add_lambda_conv_op): Don't check for instantiated
callop in the case of generic lambdas. callop in the case of generic lambdas.
......
...@@ -28902,7 +28902,7 @@ static tree ...@@ -28902,7 +28902,7 @@ static tree
make_generic_type_name () make_generic_type_name ()
{ {
char buf[32]; char buf[32];
sprintf (buf, "__GenT%d", ++generic_parm_count); sprintf (buf, "<auto%d>", ++generic_parm_count);
return get_identifier (buf); return get_identifier (buf);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment