[01/13] Move hash traits to their own header file

Jeff Law law@redhat.com
Tue Jun 23 20:53:00 GMT 2015


On 06/16/2015 02:43 AM, Richard Sandiford wrote:
> This patch just moves the traits classes to their own header file,
> hash-traits.h.
>
> gcc/
> 	* hash-table.h: Include hash-traits.h.
> 	(typed_free_remove, typed_noop_remove, pointer_hash, ggc_hasher)
> 	(ggc_cache_hasher): Move to...
> 	* hash-traits.h: ...this new file.
This is fine.

In fact, I think that we probably should just have a policy that moving 
bits like this into a new file should be considered obviously OK after 
the usual bootstrap and regression test.

jeff




More information about the Gcc-patches mailing list