[cfe-commits] r52844 - in /cfe/trunk: include/clang/Basic/DiagnosticKinds.def lib/Sema/Sema.h lib/Sema/SemaDeclAttr.cpp lib/Sema/SemaType.cpp
Eli Friedman
eli.friedman at gmail.com
Fri Jun 27 17:44:20 PDT 2008
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?
-Eli
More information about the cfe-commits
mailing list