Hi,

Consider this code
class [[foo]] c [[foo]];

Clang generates diagnostic like this:
error: an attribute list cannot appear here
class [[foo]] c [[foo]];
      ^~~~

I think the first attribute is conforming, and it's the second attribute
that should be diagnosed.
Attached the patch that fixes this.

Thanks
Michael

Attachment: parser.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to