typed-splay-tree.h (typed_splay_tree::remove): New function.
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Fri, 15 Jun 2018 19:17:19 +0000 (19:17 +0000)
committerBernd Edlinger <edlinger@gcc.gnu.org>
Fri, 15 Jun 2018 19:17:19 +0000 (19:17 +0000)
commitb48f2352a967d6ae9342529124dd8209d0d620da
tree7570cd0e69310017bf292bc7fe51f1d363289a6b
parentdf25ffcc4138d4c65642d9ef9028069d95f6e10c
typed-splay-tree.h (typed_splay_tree::remove): New function.

2018-06-15  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        * typed-splay-tree.h (typed_splay_tree::remove): New function.
        (typed_splay_tree::closure,
        typed_splay_tree::inner_foreach_fn, typed_splay_tree::m_inner): Deleted.
        (typed_splay_tree::typed_splay_tree,
        typed_splay_tree::operator =): Declared private.
        (typed_splay_tree::splay_tree_key, typed_splay_tree::splay_tree_value,
        typed_splay_tree::splay_tree_node_s, typed_splay_tree::KDEL,
        typed_splay_tree::VDEL, typed_splay_tree::splay_tree_delete_helper,
        typed_splay_tree::rotate_left, typed_splay_tree::rotate_right,
        typed_splay_tree::splay_tree_splay,
        typed_splay_tree::splay_tree_foreach_helper,
        typed_splay_tree::splay_tree_insert,
        typed_splay_tree::splay_tree_remove,
        typed_splay_tree::splay_tree_lookup,
        typed_splay_tree::splay_tree_predecessor,
        typed_splay_tree::splay_tree_successor,
        typed_splay_tree::splay_tree_min,
        typed_splay_tree::splay_tree_max): Took over from splay-tree.c/.h.
        (typed_splay_tree::root, typed_splay_tree::comp,
        typed_splay_tree::delete_key,
        typed_splay_tree::delete_value): New data members.
        * typed-splay-tree.c (selftest::test_str_to_int): Add a test for
        typed_splay_tree::remove.

From-SVN: r261645
gcc/ChangeLog
gcc/typed-splay-tree.c
gcc/typed-splay-tree.h