[cfe-dev] Knowing if a default argument was inherited.

Enea Zaffanella zaffanella at cs.unipr.it
Fri Mar 12 08:39:12 PST 2010


Hello.

The attached patch adds a Boolean flag (named HasInheritedDefaultArg) to 
ParmVarDecl nodes. The flag (normally false) allows to distinguish those 
parameters having a written default argument from those inheriting such 
a default argument (when merging the current function declaration with a 
a previous one).

Cheers,
Enea Zaffanella.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: InheritedDefaultArg.patch
Type: text/x-patch
Size: 3937 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100312/527264ab/attachment.bin>


More information about the cfe-dev mailing list