This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C++: Missing documentation for MODOP_EXPR
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?)
-- Gaby