c++: Remove some gratuitous typedefing
Nathan Sidwell
nathan@acm.org
Wed Sep 23 15:15:21 GMT 2020
This is C++, we don't need 'typedef struct foo foo;'. Oh, and bool
bitfields are a thing.
gcc/cp/
* name-lookup.h (typedef cxx_binding): Delete tdef.
(typedef cp_binding_level): Likewise.
(struct cxx_binding): Flags are bools.
pushing to trunk
nathan
--
Nathan Sidwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tdef-ectomy.diff
Type: text/x-patch
Size: 1455 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200923/11ea06f4/attachment.bin>
More information about the Gcc-patches
mailing list