[C++ PATCH] overloaded operator fns [5/N]
authorNathan Sidwell <nathan@acm.org>
Tue, 31 Oct 2017 20:08:51 +0000 (20:08 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 31 Oct 2017 20:08:51 +0000 (20:08 +0000)
commit881c969cf6797917ad69ea7bf4c47888890125ff
treee834aa3532529a8b1d13db828ee7c5e64fbd2442
parentc67624232a1cb16a99497605dde681eee711dbbd
[C++ PATCH] overloaded operator fns [5/N]

https://gcc.gnu.org/ml/gcc-patches/2017-10/
* cp-tree.h (struct operator_name_info_t): Rename to ...
(struct ovl_op_info_t): ... here.  Add tree_code field.
(operator_name_info, assignment_operator_name_info): Delete.
(ovl_op_info): Declare.
(OVL_OP_INFO): Adjust.
* decl.c (grok_op_properties): Use ovl_op_flags.
* lex.c (operator_name_info, assignment_operator_name_info):
Delete.
(ovl_op_info): Define.
(set_operator_ident): Adjust.
(init_operators): Set tree_code.
* mangle.c (write_unqualified_id): Adjust operator array scan.

From-SVN: r254279
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/lex.c
gcc/cp/mangle.c