NAME
The name of the operator, as a C string, but without the
- preceeding `operator'. This is the name that would be given in
+ preceding `operator'. This is the name that would be given in
the source program. For `operator +', for example, this would be
`+'.
OLD_MANGLING
- Analagous, but for the old ABI.
+ Analogous, but for the old ABI.
ARITY
There is code (such as in grok_op_properties) that depends on the
order the operators are presented in this file. In particular,
- unary operators must preceed binary operators. */
+ unary operators must precede binary operators. */
/* Use DEF_SIMPLE_OPERATOR to define a non-assignment operator. Its
arguments are as for DEF_OPERATOR, but there is no need to provide
/* The cast operator. */
DEF_SIMPLE_OPERATOR ("", TYPE_EXPR, "cv", 1)
+DEF_SIMPLE_OPERATOR ("", CAST_EXPR, "cv", 1)
+DEF_SIMPLE_OPERATOR ("", CONST_CAST_EXPR, "cv", 1)
+DEF_SIMPLE_OPERATOR ("", STATIC_CAST_EXPR, "cv", 1)
/* Binary operators. */
DEF_SIMPLE_OPERATOR ("+", PLUS_EXPR, "pl", 2)