On 07/23/2014 10:31 PM, Ed Smith-Rowland wrote:
+ pedwarn (token->location, OPT_Wpedantic, + "ISO C++ forbids typename key in template template parameter");
This should mention -std=c++1z.
+ if (tag_type == none_type) + cp_parser_error (parser, "expected type-parameter-key");
...
+ case RT_TYPE_PARAMETER_KEY: + cp_parser_error (parser, "expected %<class%> or %<typename%>");
It seems unfortunate to have this diagnostic in two places. I think let's not use cp_parser_require here.
Jason