[cfe-dev] Mode attribute not in clang AST.

Enea Zaffanella zaffanella at cs.unipr.it
Wed Jun 5 05:23:06 PDT 2013


On 06/05/2013 01:15 PM, Enea Zaffanella wrote:
[...]
> Therefore, an option (having no memory space overhead) would be to build
> a TypedefNameDecl node where:
[...]
>    - the TypeForDecl node points to the "semantic" typedef type
>      (i.e., after the application of mode)
[...]
> Are there reasons preventing such an approach?

After checking details, this can not work as proposed ...
since a TypedefType is just a pointer to the corresponding TypedefNameDecl.

Enea.



More information about the cfe-dev mailing list