Kill IDENTIFIER_NAMESPACE_BINDINGS
authorNathan Sidwell <nathan@acm.org>
Tue, 30 May 2017 19:12:35 +0000 (19:12 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 30 May 2017 19:12:35 +0000 (19:12 +0000)
commit98c28dd4ba5bc2fe9141f44aeed7d59a07012018
treee0e4292c8b996890aeb6b35593dfc720d1fa9446
parent5256a7f5961e6a5137be1d340cb380b62b06e19f
Kill IDENTIFIER_NAMESPACE_BINDINGS

Kill IDENTIFIER_NAMESPACE_BINDINGS
* cp-tree.h (lang_identifier): Delete namespace_bindings.
(IDENTIFIER_NAMESPACE_BINDINGS): Delete.
(lang_decl_ns): Add bindings.
(DECL_NAMESPACE_BINDINGS): New.
* lex.c (retrofit_lang_decl): Create namespace hash table.
* name-lookup.c (find_namespace_slot): Change to use hash-map.
* ptree.c (cxx_print_binding): Delete.
(cxx_print_identifier): Remove NAMESPACE_BINDING printing.

From-SVN: r248694
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/lex.c
gcc/cp/name-lookup.c
gcc/cp/ptree.c