Re: [C++ PATCH] overloaded operator fns [8/N]

2017-11-02 Thread Nathan Sidwell
On 11/01/2017 04:08 PM, Jason Merrill wrote: On Wed, Nov 1, 2017 at 2:29 PM, Nathan Sidwell wrote: -&& IDENTIFIER_NEWDEL_OP_P (unqualified_id))) +&& IDENTIFIER_OVL_OP_P (unqualified_id) +&& (IDENTIFIER_OVL_OP_FLAGS (unqualified_id) & OVL_OP_FLAG_ALLOC))) Why not keep the name ID

Re: [C++ PATCH] overloaded operator fns [8/N]

2017-11-01 Thread Jason Merrill
On Wed, Nov 1, 2017 at 2:29 PM, Nathan Sidwell wrote: > This is the last of the overloaded operator reworking. Now we can cheaply > go from identifier->overload info, there's no need to specially mark > identifiers as new or delete operators themselves. Thus we can reorder the > cp_identifier_ki

[C++ PATCH] overloaded operator fns [8/N]

2017-11-01 Thread Nathan Sidwell
This is the last of the overloaded operator reworking. Now we can cheaply go from identifier->overload info, there's no need to specially mark identifiers as new or delete operators themselves. Thus we can reorder the cp_identifier_kind enumeration and leave space in it for udlit operators.