cp-tree.h (ovl_skip_hidden): Declare.
authorNathan Sidwell <nathan@acm.org>
Wed, 24 May 2017 15:56:06 +0000 (15:56 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 24 May 2017 15:56:06 +0000 (15:56 +0000)
commitc0edbb32c15b1c5c2145294641e1dec688d23adc
treedf0dd2d62b585a644ae547c4f2636c5f02ec758b
parent657e5f832623af590eabf9794dd2f9b0d7ac0855
cp-tree.h (ovl_skip_hidden): Declare.

* cp-tree.h (ovl_skip_hidden): Declare.
* tree.c (ovl_skip_hidden): New.
* name-lookup.c (arg_assoc_namespace): Call ovl_skip_hidden.
(lookup_arg_dependent_1): Likewise.
(ambiguous_decl): Use DECL_HIDDEN_P, ovl_skip_hidden.
(hidden_name_p, remove_hidden_names): Delete.
(lookup_name_real_1): Do not strip hidden names.
* name-lookup.h (hidden_name_p, remove_hidden_names): Delete.

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