cp-tree.h (class ovl_iterator, [...]): New OVERLOAD iterators.
authorNathan Sidwell <nathan@acm.org>
Tue, 16 May 2017 14:46:30 +0000 (14:46 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 16 May 2017 14:46:30 +0000 (14:46 +0000)
commit3f267553fca2671ca4abb0dbbe3c9f625357edf0
tree75f1cd1884906c9e7903a3f2d97c780e17e2066f
parent058c785479b1652ffd47d397a9693fe5e5fdea39
cp-tree.h (class ovl_iterator, [...]): New OVERLOAD iterators.

* cp-tree.h (class ovl_iterator, class lkp_iterator): New OVERLOAD
iterators.
(MAYBE_BASELINK_FUNCTIONS): New.
* constraint.cc (resolve_constraint_check): Use lkp_iterator.
* decl2.c (maybe_warn_sized_delete): Use ovl_iterator.
* lambda.c (maybe_generic_this_capture): Use lkp_iterator.
* method.c (inherited_ctor_binfo): Use ovl_iterator.
(binfo_inherited_from): Likewise.
* parser.c (lookup_literal_operator): Use lkp_iterator.
* pt.c (iterative_hash_template_arg): Use lkp_iterator.
(print_candidates_1): Likewise.
(determine_specialization): Likewise.
(resolve_overloaded_unification): Likewise.
(resolve_nondeduced_context): Likewise.
(type_dependent_expression_p): Likewise.
(dependent_template_p): Likewise.
* ptree.c (cxx_print_xnode): Likewise.
* semantics.c (omp_reduction_lookup): Use lkp_iterator.
(classtype_has_nothrow_assign_or_copy_p): Use ovl_iterator.
* typeck.c (check_template_keyword): Use lkp_iterator.

From-SVN: r248112
gcc/cp/ChangeLog
gcc/cp/constraint.cc
gcc/cp/cp-tree.h
gcc/cp/decl2.c
gcc/cp/lambda.c
gcc/cp/method.c
gcc/cp/parser.c
gcc/cp/pt.c
gcc/cp/ptree.c
gcc/cp/semantics.c
gcc/cp/typeck.c