[cfe-dev] Patch adding a Boolean flag to TagDecl nodes.

Enea Zaffanella zaffanella at cs.unipr.it
Tue Feb 2 23:15:00 PST 2010


Any comment on the proposed patch?

Thanks in advance,
Enea Zaffanella.

Enea Zaffanella wrote:
> Hello.
> 
> The attached patch adds a new Boolean flag to TagDecl nodes.
> 
> The new flag, named IsDefinedInDeclarator, tells whether or not the
> TagDecl is a definition that was syntactically occurring (possibly via
> macro expansions) in a declarator. Examples include tag types defined in
> function return types, function parameter types, variable or field
> declarations and type arguments of cast or sizeof expressions.
> 
> The new flag is meant to help clients such as code style checkers.
> 
> Cheers,
> Enea Zaffanella.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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