Remove directive-searched cleanups
authorTom Tromey <tom@tromey.com>
Wed, 1 Nov 2017 14:32:13 +0000 (08:32 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 4 Nov 2017 16:27:16 +0000 (10:27 -0600)
commit167b0be1b5ef36a5605fcdfba0c84db2ed475e1e
tree87acaf68f4d6149dcfc8640819ffe1f65d52925b
parent5eae7aeaf754549d3645a0c590c5ef9f0134a32d
Remove directive-searched cleanups

This removes a few cleanups related to the "searched" field in
struct using_direct, replacing these with scoped_restore.

gdb/ChangeLog
2017-11-04  Tom Tromey  <tom@tromey.com>

* cp-namespace.c (reset_directive_searched): Remove.
(cp_lookup_symbol_via_imports): Use scoped_restore.
* cp-support.c (reset_directive_searched): Remove.
(make_symbol_overload_list_using): Use scoped_restore.
* d-namespace.c (d_lookup_symbol_imports): Use scoped_restore.
(reset_directive_searched): Remove.
gdb/ChangeLog
gdb/cp-namespace.c
gdb/cp-support.c
gdb/d-namespace.c