Remove ovl_used, it is no longer needed
authorNathan Sidwell <nathan@acm.org>
Fri, 16 Nov 2018 16:23:20 +0000 (16:23 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 16 Nov 2018 16:23:20 +0000 (16:23 +0000)
commit83044e4fcc7b3f7514eaa84b31f44608ae5fbaf1
treea3f07d670b734365e15f1a42517b81d98d964cd6
parent81292845971e30311b241bf63462f9bf8bfb23ad
Remove ovl_used, it is no longer needed

Remove ovl_used, it is no longer needed
* cp-tree.h (OVL_USED_P): Delete.
(lookup_keep): Delete.
* friend.c (add_friend): Don't call it.
* parser.c (lookup_literal_operator): Likewise.
(cp_parser_primary_expression): Likewise.
* semantics.c (perform_koenig_lookup): Likewise.
* pt.c (tsubst_copy <OVERLOAD>): Don't assert OVL_USED_P.
* tree.c (ovl_copy): Delete.
(ovl_insert): Remove OVL_USED_P checks.
(ovl_iterator::reveal_node): Likewise.
(ovl_iterator::remove__node): Likewise.
(ovl_used, lookup_keep): Delete.

From-SVN: r266212
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/friend.c
gcc/cp/parser.c
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/cp/tree.c