[cfe-commits] [Patch] Skip attributes

Michael Han fragmentshaders at gmail.com
Fri Dec 7 15:08:56 PST 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121207/e34d3c21/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: skipcxxattr.patch
Type: application/octet-stream
Size: 4832 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121207/e34d3c21/attachment.obj>


More information about the cfe-commits mailing list