[C++ PATCH] overloaded operator fns [3/N]
commit02938df3f73a10590c875ac72b3b6549096c5ebc
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Oct 2017 16:27:59 +0000 (31 16:27 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Oct 2017 16:27:59 +0000 (31 16:27 +0000)
tree676bf479638e840e2f2ed3e95577fa6e78227ce0
parentce0456f1571288aac0e6b93f0d905d589c8d2248
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@254271 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/lex.c
gcc/cp/mangle.c
gcc/cp/operators.def