* call.c (add_list_candidates): Use OVL_FIRST.
commitd14ef710b4674ae16f5caa2f4906f1fd106dc7ac
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 May 2017 14:12:14 +0000 (19 14:12 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 May 2017 14:12:14 +0000 (19 14:12 +0000)
tree34862ee39fd2a98aebffc638e0b600035d0e75bb
parentc2a4993a9e648433afe7f86f0fc8df291b97e3ec
* call.c (add_list_candidates): Use OVL_FIRST.
(build_new_method_call_1): Likewise.
* cp-tree.h (OVL_SINGLE_P): New.
(TYPE_HIDDEN_P): New.
* decl.c (xref_tag_1): Use TYPE_HIDDEN_P.
* dump.c (cp_tump_tree): Adjust overload dumping.
* error.c (dump_decl): Use OVL_SINGLE_P, simplify context
printing.
* method.c (lazily_declare_fn): Assert we added it.
* parser.c (cp_parser_nested_name_specifier): Use OVL_SINGLE_P,
OVL_FIRST.
(cp_parser_template_name): Use lkp_iterator.
* pt.c (begin_template_parm_list): Fixup comment.
(instantiate_class_template_1): Use TYPE_HIDDEN_P.
* tree.c (ovl_iterator::remove_node): Cope with inherited ctors.
(ovl_scope): Use lkp_iterator.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@248285 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/dump.c
gcc/cp/error.c
gcc/cp/method.c
gcc/cp/parser.c
gcc/cp/pt.c
gcc/cp/tree.c