[PATCH] Fix PR16765

Richard Smith richard at metafoo.co.uk
Wed Jul 31 19:32:54 PDT 2013


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/adc51dea/attachment.html>


More information about the cfe-commits mailing list