* cp-tree.h (default_hash_traits <lang_identifier *>): New
commit03b3dcbd7b0cc42008b51c54f6bdb910cc20619b
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 May 2017 15:41:23 +0000 (17 15:41 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 May 2017 15:41:23 +0000 (17 15:41 +0000)
tree53aba9673ac838d39acb0850e6b131d32bdb8607
parentf13dee19407fe5f9a026c6e02cb29f795ed45e9e
* cp-tree.h (default_hash_traits <lang_identifier *>): New
specialization.
* name-lookup.c (lookup_extern_c_fun_in_all_ns): Delete.
(extern_c_fns): New hash table.
(check_extern_c_conflict): New, broken out of ...
(pushdecl_maybe_friend_1): ... here.  Call it.
(c_linkage_bindings): Just look in hash table.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@248159 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/name-lookup.c