cp-tree.h (ovl_iterator::using_p): New predicate.
authorNathan Sidwell <nathan@acm.org>
Wed, 17 May 2017 12:37:30 +0000 (12:37 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 17 May 2017 12:37:30 +0000 (12:37 +0000)
commit36f4bc9ce82363820ce3aac4bb3f7fbfdeef1663
tree7f697bfed6d1dcc1a532bb1f77b8e4df25bcfdf8
parent19b476fb8de6533a76db72b04db6421857fa9fcf
cp-tree.h (ovl_iterator::using_p): New predicate.

* cp-tree.h (ovl_iterator::using_p): New predicate.
(ovl_iterator::remove_node): New worker.
(ovl_insert): Declare.
* tree.c (ovl_insert): New.
(ovl_iterator::remove_node): New.
* class.c (add_method): Use ovl_iterator, ovl_insert.
(clone_function_decl): Fix description.
(clone_constructors_and_destructors): Use ovl_iterator.

From-SVN: r248151
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/tree.c