diff options
author | Tom Tromey <tom@tromey.com> | 2020-09-17 11:47:50 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-09-17 11:58:56 -0600 |
commit | 99032cfcc6c12006ba6184318c5df5b08a65e58a (patch) | |
tree | 34191fefb765cd2af8067fd660612e887816c44b /gdb/linespec.c | |
parent | 32580f6d2eccfe32ee72b17f63c9e70cf867c09e (diff) | |
download | gdb-99032cfcc6c12006ba6184318c5df5b08a65e58a.zip gdb-99032cfcc6c12006ba6184318c5df5b08a65e58a.tar.gz gdb-99032cfcc6c12006ba6184318c5df5b08a65e58a.tar.bz2 |
Use htab_up in filename_seen_cache
This changes filename_seen_cache to use htab_up, rather than explicit
calls to htab_delete.
gdb/ChangeLog
2020-09-17 Tom Tromey <tom@tromey.com>
* filename-seen-cache.c (filename_seen_cache::filename_seen_cache)
(filename_seen_cache::clear): Update.
(~filename_seen_cache): Remove.
(filename_seen_cache::seen): Update.
* filename-seen-cache.h (class filename_seen_cache) <m_tab>: Now
htab_up.
<~filename_seen_cache>: Remove.
<traverse>: Update.
Diffstat (limited to 'gdb/linespec.c')
0 files changed, 0 insertions, 0 deletions