[cfe-commits] [PATCH] Improve Clang diagnostic on ignored GNU type attributes

Eli Friedman eli.friedman at gmail.com
Fri Dec 16 16:39:37 PST 2011


2011/12/12 Michael Han <Michael.Han at autodesk.com>:
> Hi Eli,
>
> I made two changes and regenerate the patch:
>
> 1. Remove ProcessDeclAttributeList from Sema::ParsedFreeStandingDeclSpec
> as attributes on the free declaration specifier should be ignored.
> 2. Warn about C++0x attributes not placed after tags.
>
> In addition also modified several test files in which the attributes are
> not placed correctly. All tests passed.

Looks good; r146796.  Sorry about the delay.

-Eli



More information about the cfe-commits mailing list