[cfe-commits] r52844 - in /cfe/trunk: include/clang/Basic/DiagnosticKinds.def lib/Sema/Sema.h lib/Sema/SemaDeclAttr.cpp lib/Sema/SemaType.cpp

Chris Lattner sabre at nondot.org
Sat Jun 28 17:16:41 PDT 2008


On Jun 27, 2008, at 5:44 PM, Eli Friedman wrote:

> On Fri, Jun 27, 2008 at 3:18 PM, Chris Lattner <sabre at nondot.org>  
> wrote:
>> Author: lattner
>> Date: Fri Jun 27 17:18:37 2008
>> New Revision: 52844
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=52844&view=rev
>> Log:
>> the 'mode' attribute is a decl attribute, not a type attribute.   
>> Move it to
>> SemaDeclAttr, and do some cleanups.
>
> Thanks for fixing this.
>
> clang currently silently drops the attribute in the following:
> int a() {int**__attribute((mode(HI)))*i32;}
> It looks like clang currently just drops attributes on inner types;
> are you already aware of this issue?

Fixed, thanks!

-Chris



More information about the cfe-commits mailing list