[C++ PATCH] overloaded operator fns [3/N]
authorNathan Sidwell <nathan@acm.org>
Tue, 31 Oct 2017 16:27:59 +0000 (16:27 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 31 Oct 2017 16:27:59 +0000 (16:27 +0000)
commitf26881e300b648e46ae89e24575fe493d772802f
tree676bf479638e840e2f2ed3e95577fa6e78227ce0
parent5e36e11e2d3ba4cafa9e6523d161b7ffc9023672
[C++ PATCH] overloaded operator fns [3/N]

https://gcc.gnu.org/ml/gcc-patches/2017-10/msg02343.html
* cp-tree.h (enum ovl_op_flags): New.
(struct operator_name_info_t): Rename arity to flags.
* lex.c (set_operator_ident): New.
(init_operators): Use it.  Adjust for flags.
* mangle.c (write_unqualified_id): Adjust for flags.
* operators.def: Replace arity with flags.

From-SVN: r254271
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/lex.c
gcc/cp/mangle.c
gcc/cp/operators.def