C++: Missing documentation for MODOP_EXPR

Mark Mitchell mark@codesourcery.com
Sat Aug 16 06:07:00 GMT 2003


On Fri, 2003-08-15 at 12:01, Gabriel Dos Reis wrote:
> Mark Mitchell <mark@codesourcery.com> writes:
> 
> [...]
> 
> | > My questions are:
> | > 
> | >   1) is __ret the first operand?
> | >   2) is sprintf the second operand?
> | >   3) is the argument list the third operand?
> | > 
> | > I don't think the answers for the last two questions are "yes".  What
> | > I'm after is the meaning of the tree operands.
> | 
> | The first operand is __ret; the third is the call to sprintf.
> | 
> | The second indicates whether it's a plain assignment operator or a
> | compound assignment.
> 
> One more question.  Does the second operand takes any particular form?
> For a plain assignment it seems to be NOP_EXPR.
> (I guess for +=, it will be "+", is that right?)

Yup.

-- 
Mark Mitchell <mark@codesourcery.com>
CodeSourcery, LLC



More information about the Gcc mailing list