[cfe-dev] annotations not working with functions

Chris Lattner clattner at apple.com
Thu Jul 2 08:32:38 PDT 2009


On Jul 2, 2009, at 7:33 AM, Mattias Holm wrote:

> Is anyone working on this?
>
> I would especially be interested in something where it is possible to
> annotate local variables and types as well.
>
> For example:
>
> typedef struct foo {
>
> } foo __attribute__((annote("blah"));
>
> It would be really nice if this could pass on the annotation to llvm
> (possibly by applying the annotation to all variables of the type).

I'm not aware of anyone working on this, but it shouldn't be too hard  
to add.  It's a great beginner project :)

-Chris

>
>
> / Mattias
>
>
> Eli Friedman wrote:
>> On Wed, Jul 1, 2009 at 11:03 PM, <Vasudev.Negi at microchip.com> wrote:
>>> Annotations work with global variables but do not work with  
>>> functions. Is
>>> it supposed to work or am I missing something?
>>
>> http://llvm.org/bugs/show_bug.cgi?id=2490
>>
>> -Eli
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list