aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/lambda.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@gcc.gnu.org>2017-10-06 13:15:23 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2017-10-06 13:15:23 +0000
commite833f686bb246d02dda9096653214ba657f460ba (patch)
treeec27346a76f573bc6c24d7ac5544092399bac9c5 /gcc/cp/lambda.c
parent816f83cfb7a82a48945384942c32c87659d4ad06 (diff)
downloadgcc-e833f686bb246d02dda9096653214ba657f460ba.zip
gcc-e833f686bb246d02dda9096653214ba657f460ba.tar.gz
gcc-e833f686bb246d02dda9096653214ba657f460ba.tar.bz2
[C++ PATCH] use hash-table for namespace contents
https://gcc.gnu.org/ml/gcc-patches/2017-10/msg00365.html Use hash_table for namespace bindings * cp-tree.h (struct named_decl_hash): New. (lang_decl_ns): Change type of bindings field. * lex.c (maybe_add_lang_decl_raw): Adjust. * name-lookup.c (find_namespace_slot): Adjust. (do_pushdecl): Push NULL-named namespace. (do_push_nested_namespace): Adjust. (push_namespace): Push anonymous namespace as NULL name. From-SVN: r253489
Diffstat (limited to 'gcc/cp/lambda.c')
0 files changed, 0 insertions, 0 deletions