]> git.ipfire.org Git - thirdparty/gcc.git/commit
c++: add operator| for WMB_Flags
authorJason Merrill <jason@redhat.com>
Sat, 24 May 2025 18:41:43 +0000 (14:41 -0400)
committerJason Merrill <jason@redhat.com>
Tue, 3 Jun 2025 14:18:18 +0000 (10:18 -0400)
commitc18f152447c0ae1ac752d8a14b582d099a329c0c
tree12248a48629522bfa72e6560d85366043306f5d3
parent4c2d94aed41778226ae08c718459eed5ee65d455
c++: add operator| for WMB_Flags

There are a lot of uses of | on WMB_Flags, that currently need to then be
cast back to WMB_Flags.  Let's avoid the need for that.

gcc/cp/ChangeLog:

* name-lookup.h (operator|, operator|=): Define for WMB_Flags.
gcc/cp/name-lookup.h