cp-tree.h (default_hash_traits <lang_identifier *>): New specialization.
authorNathan Sidwell <nathan@acm.org>
Wed, 17 May 2017 15:41:23 +0000 (15:41 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 17 May 2017 15:41:23 +0000 (15:41 +0000)
commit539f481a292d606bd7cf092880c51412e95d92b6
tree53aba9673ac838d39acb0850e6b131d32bdb8607
parente5b1f5a1d11f73ff289ffebfeccbc0650531367b
cp-tree.h (default_hash_traits <lang_identifier *>): New specialization.

* 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.

From-SVN: r248159
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/name-lookup.c