[cfe-commits] [PATCH] forbid attributes on friend member function declaration

Richard Smith richard at metafoo.co.uk
Mon Nov 26 13:56:38 PST 2012


Hi Michael,

It's not OK to use Sema's AttributeList directly from within lib/Parse.
Have you considered performing the check inside Sema instead?

On Fri, Nov 23, 2012 at 3:58 PM, Michael Han <fragmentshaders at gmail.com>wrote:

> Sorry missing title in last email; resend patch with title this time..
>
> ---------- Forwarded message ----------
> From: Michael Han <fragmentshaders at gmail.com>
> Date: Fri, Nov 23, 2012 at 3:53 PM
> Subject:
> To: cfe-commits at cs.uiuc.edu
>
>
> Hi,
>
> This patch implements C++11 [dcl.attr.grammar] p4: If an
> attribute-specifier-seq appertains to a friend declaration, that declaration
> shall be a definition. Please review.
>
> Cheers
> Michael
>
>
> _______________________________________________
> 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/20121126/abe0b317/attachment.html>


More information about the cfe-commits mailing list