aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-cfg.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2017-05-24 11:28:54 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2017-05-24 11:28:54 +0000
commitef4c5e7855ea00a62487c0d34915d66946032172 (patch)
treede86db645e445af4e19f288d8422859e96b4e191 /gcc/tree-cfg.c
parentb7fc9ae0aabaf8c95c524031659b0a17bf597c9e (diff)
downloadgcc-ef4c5e7855ea00a62487c0d34915d66946032172.zip
gcc-ef4c5e7855ea00a62487c0d34915d66946032172.tar.gz
gcc-ef4c5e7855ea00a62487c0d34915d66946032172.tar.bz2
cp-tree.h (OVL_HIDDEN_P): New.
gcc/cp/ * cp-tree.h (OVL_HIDDEN_P): New. (ovl_iterator::hidden_p, ovl_iterator::reveal_node): New. (ovl_iterator::reveal_node): Declare. * tree.c (ovl_copy): Copy OVL_HIDDEN_P. (ovl_insert): Order on hiddenness. (ovl_iterator::reveal_node): New. * name-lookup.c (anticipated_builtin_p): New. (supplement_binding_1): Use it. (set_local_extern_decl_linkage): Use hidden_p. (do_pushdecl): Deal with unhiding a hidden decl, use anticipated_builtin_p. (do_nonmember_using_decl): Use anticipated_decl_p. (lookup_name_real_1): Use DECL_HIDDEN_P. gcc/testsuite/ * g++.dg/lookup/extern-c-hidden.C: New. * g++.dg/lookup/extern-redecl1.C: New. From-SVN: r248406
Diffstat (limited to 'gcc/tree-cfg.c')
0 files changed, 0 insertions, 0 deletions