On Sep 23, 2011, at 3:39 PM, Matt Beaumont-Gay wrote:
> Author: matthewbg
> Date: Fri Sep 23 17:39:23 2011
> New Revision: 140427
>
> URL: http://llvm.org/viewvc/llvm-project?rev=140427&view=rev
> Log:
> Fix a crash-on-invalid.
>
> The token stream was not getting properly reset when leaving
> ParseLexedMethodDef in some error cases. In the testcase, that caused later
> accesses to the token stream to touch memory which had been freed as we
> finished parsing the class definition.
Very nice! I have a few bugs on my plate that you may have just fixed :)
- Doug
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits