> If you're looking for a more elegant approach, you could try to
> recover by removing the 'typedef' specifier. That's what we do when a
> non-member function is defined with 'typedef'. See
> Parser::ParseDeclGroup and
> Parser::ParseSingleDeclarationAfterTemplate.
>

This seems to work well.  I have attached an updated patch.  Thanks!

Attachment: member-typdef-fn.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to