[cfe-commits] [PATCH] PR9903 - crash on typedef member non-compound-statement function body
Richard Smith
richard at metafoo.co.uk
Thu Nov 15 14:55:03 PST 2012
On Thu, Nov 15, 2012 at 1:38 PM, Brian Brooks <brooks.brian at gmail.com> wrote:
>> 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!
LGTM, committed as r168108. Feel free to close PR9903. Thanks!
More information about the cfe-commits
mailing list