[cfe-dev] Attributes on statements and expressions

Abramo Bagnara abramo.bagnara at gmail.com
Tue Apr 27 08:40:48 PDT 2010


Il 27/04/2010 08:14, Sean Hunt ha scritto:
> On 04/26/2010 03:43 PM, Trevor Harmon wrote:
>> Is your proposal available online somewhere?
> 
> http://socghop.appspot.com/gsoc/student_project/show/google/gsoc2010/llvm/t127230760878
> 

Have you considered the opportunity to store in the AST attribute also
the attribute arguments expressions?

This, together with the insertion of a generic attribute would permit to
add arbitrary annotations to source code to be used by analysis client
and other clients.

The reason to have a regular expression AST for argument has two benefits:

1) the possibility to know the original syntactic form

2) the resolution of identifiers in the exact scope where they appeared




More information about the cfe-dev mailing list