[cfe-commits] [PATCH] Fix crash with invalid lambda trailing return type
Aaron Ballman
aaron at aaronballman.com
Wed Aug 29 18:12:31 PDT 2012
> On Tue, Aug 28, 2012 at 4:25 AM, Aaron Ballman <aaron at aaronballman.com>
> wrote:
>>
>> This patch addresses PR13652, where a missing trailing return type was
>> causing a seg fault. I've also included a test case demonstrating the
>> fix.
This is a revised version of the same patch. Instead of early
returning, we create an empty type result and continue parsing. This
should allow for better error recovery.
~Aaron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lambda.patch
Type: application/octet-stream
Size: 1687 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120829/6ad25a24/attachment.obj>
More information about the cfe-commits
mailing list