On Wed, Nov 1, 2017 at 2:29 PM, Nathan Sidwell <nat...@acm.org> 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_kind enumeration and leave space in it for udlit operators. > > This patch does that renumbering, and reserves a value for udlit operators. > Those are currently detected by string compare, which isn't the most > satisfactory way to do it. But it's a change for another day.
> - && 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 IDENTIFIER_NEWDEL_OP_P, which expands to this? Jason