class.c (handle_using_decl): Use OVL_FIRST, ovl_iterator.
authorNathan Sidwell <nathan@acm.org>
Wed, 17 May 2017 11:21:50 +0000 (11:21 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 17 May 2017 11:21:50 +0000 (11:21 +0000)
commit19b476fb8de6533a76db72b04db6421857fa9fcf
tree042127f3d15deb7b400008fd7dce4637752906c2
parent142473df8ea4f3ff7ebd480bf827bfb795da6861
class.c (handle_using_decl): Use OVL_FIRST, ovl_iterator.

* class.c (handle_using_decl): Use OVL_FIRST, ovl_iterator.
(maybe_warn_about_overly_private_class): Use ovl_iterator.
(method_name_cmp, resort_method_name_cmp): Use OVL_NAME.
(resort_type_method_vec, finish_struct_methods): Use OVL_FIRST.
(get_base_fndecls): Use ovl_iterator.
(warn_hidden): Use OVL_NAME, ovl_iterator.
(add_implicitly_declared_members): Use ovl_iterator.
* constraint.cc (normalize_template_id_expression): Use OVL_FIRST,
flatten nested if.
(finish_shorthand_constraint): Simplify, use ovl_make.
* pt.c (make_constrained_auto): Simplify.  Use ovl_make.
* search.c (shared_member_p): Use ovl_iterator.
(lookup_field_fuzzy_info::fuzzy_lookup_fn): Use OVL_NAME.
(lookup_conversion_operator): Use OVL_FIRST.
(lookup_fnfiels_idx_nolazy): Use OVL_FIRST, OVL_NAME.
(look_for_overrides_here): Use ovl_iterator.
(lookup_conversions_r): Use OVL_FIRST, OVL_NAME, ovl_iterator.
* typeck.c (build_x_unary_op): Use ovl_make.

From-SVN: r248144
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/constraint.cc
gcc/cp/pt.c
gcc/cp/search.c
gcc/cp/typeck.c