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

Enea Zaffanella zaffanella at cs.unipr.it
Fri Jan 29 12:10:31 PST 2010


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.

Enea Zaffanella.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: TagDefinedInDeclarator.patch
Type: text/x-patch
Size: 3227 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100129/ed4aaa43/attachment.bin>

More information about the cfe-dev mailing list