c++: Post-pending redesign cleanup [PR 99170]

Nathan Sidwell nathan@acm.org
Thu Mar 4 13:49:30 GMT 2021


With pending entities reimplemented, the remaining use of uintset can 
just use a regular hash map -- I only used a uintset because it was 
there. So one adhoc hash-table/vector structure goes away.

         PR c++/99170
         gcc/cp/
         * module.cc (class uintset): Delete.
         (typedef attached_map_t): A hash map.
         (attached_table): Use attached_map_t.  Adjust uses ...
	(trees_out::decl_value, trees_in::decl_value): ... here	...
         (trees_out::key_mergeable): ...	here ...
         (trees_in::key_mergeable): ... here ...
         (maybe_attach_decl): ... here ...
         (direct_import): ... and here.

-- 
Nathan Sidwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr99170-4.diff
Type: text/x-patch
Size: 8445 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210304/52b0640c/attachment-0001.bin>


More information about the Gcc-patches mailing list