[cfe-commits] [PATCH] Improve Clang diagnostic on ignored GNU type attributes
Michael Han
Michael.Han at autodesk.com
Sun Dec 11 15:25:54 PST 2011
Hi,
This patch improves Clang diagnostic to warn about ignored GNU type attributes in declaration specifiers, such as ""__attribute__((aligned)) struct foo", where the attribute should (according to GCC attribute syntax and implementation) be placed after the tag to apply to the type declaration.
Please review, thanks!
~
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111211/c9be3f92/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: attr-ignored-diag.patch
Type: application/octet-stream
Size: 7326 bytes
Desc: attr-ignored-diag.patch
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111211/c9be3f92/attachment.obj>
More information about the cfe-commits
mailing list