On 9/10/19 1:25 PM, Marek Polacek wrote:
@@ -21870,10 +21873,16 @@ cp_parser_type_id_1 (cp_parser *parser,
cp_parser_flags flags,
/* There might or might not be an abstract declarator. */
cp_parser_parse_tentatively (parser);
+ /* Reset the flags, but remember if we should perform delayed parsing
+ of noexcept-specifiers. */
+ if (flags & CP_PARSER_FLAGS_DELAY_NOEXCEPT)
+ flags = CP_PARSER_FLAGS_DELAY_NOEXCEPT;
+ else
+ flags = CP_PARSER_FLAGS_NONE;
Do we want/need to pass the flag through here? I would think that we
don't, for the same reason we don't want to delay parsing in an alias.
OK without this hunk.
Jason