[PATCH] Fix PR16765

David Majnemer david.majnemer at gmail.com
Wed Jul 31 21:25:15 PDT 2013


Fixed in r187557.


On Wed, Jul 31, 2013 at 7:32 PM, Richard Smith <richard at metafoo.co.uk>wrote:

> Patch looks fine in isolation, but I'm really unhappy about the number of
> separate if (ThisDecl) checks in ParseCXXClassMemberDeclaration. It'd be
> nice to clean that up too.
>
> On Wed, Jul 31, 2013 at 6:37 PM, David Majnemer <david.majnemer at gmail.com>wrote:
>
>> ParseCXXClassMemberDeclaration was trying to use the result of
>> ActOnCXXMemberDeclarator to attach it to some late parsed attributes.
>> However when failures arise, we have no decl to attach to which
>> eventually leads us to a NULL pointer dereference.
>>
>> --
>> David Majnemer
>>
>> _______________________________________________
>> cfe-commits mailing list
>> cfe-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130731/430e2da9/attachment.html>


More information about the cfe-commits mailing list