Hi,

There are a couple of places in parser where we parse attributes, then
discard them immediately because these attributes are not allowed to appear
on certain locations. This patch kills the unnecessary parsing by simply
skipping these attributes.

The existing attribute tests should cover all cases related to this change,
with one tweaked test case to cover different combination of C++11
attribute syntax ([[ and alignas).

Cheers
Michael

Attachment: skipcxxattr.patch
Description: Binary data

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

Reply via email to