[cfe-dev] Knowing if a default argument was inherited.
John McCall
rjmccall at apple.com
Fri Mar 12 10:33:06 PST 2010
On Mar 12, 2010, at 8:39 AM, Enea Zaffanella wrote:
> 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).
Looks good; committed as r98362.
John.
More information about the cfe-dev
mailing list