[PATCH] Attribute parsing following labels

Aaron Ballman aaron at aaronballman.com
Mon Sep 23 16:02:13 PDT 2013

In C++ mode, attributes following labels can be ambiguous as they
could apply either to the label, or to a declaration following the
label.  According to
http://gcc.gnu.org/onlinedocs/gcc/Attribute-Syntax.html, a GNU
attribute following a label in C++ mode is only legal if the token
after the attribute is a semicolon.  This patch addresses PR8455.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: LabelAttr.patch
Type: application/octet-stream
Size: 2334 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130923/119f9aac/attachment.obj>

More information about the cfe-commits mailing list