On Fri, Nov 9, 2012 at 9:26 AM, Brian Brooks <[email protected]> wrote: > http://llvm.org/bugs/show_bug.cgi?id=9903 > > After looking at [dcl.fct.def.general] I added a few more test cases for > ctor-initializer and tok::equal. > > Is there a better way to skip a function-body? I don't think my patch is > very elegant.
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. _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
