diff options
author | Keith Seitz <keiths@redhat.com> | 2018-08-29 15:12:23 -0700 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2018-08-29 15:12:23 -0700 |
commit | 4dedf84da98ca7dcb9fc80895044d09b5787c1f0 (patch) | |
tree | 76c8822a9aa988fd3f5afe6380d7f18d58532ef6 /gdb/c-lang.c | |
parent | c2a031c5822b4256f116254def47b9887c230e68 (diff) | |
download | binutils-4dedf84da98ca7dcb9fc80895044d09b5787c1f0.zip binutils-4dedf84da98ca7dcb9fc80895044d09b5787c1f0.tar.gz binutils-4dedf84da98ca7dcb9fc80895044d09b5787c1f0.tar.bz2 |
Change decode_compound_collector to use std::vector
This patch changes decode_compound_collector to use std::vector instead of
VEC, eliminating a cleanup in the process.
gdb/ChangeLog:
* linespec.c (decode_compound_collector::decode_compound_collector):
Remove initialization for `m_symtabs'.
(decode_compound_collector::release_symbols): Change return type
to std::vector. Update all callers.
(class decode_compound_collector) <m_symbols>: Change type to
std::vector.
(lookup_prefix_sym): Change return type to std::vector. Update all
callers.
(compare_symbols): Remove.
(std_compare_symbols): Rename to `compare_symbols'.
(find_method): Change `sym_classes' parameter to std::vector.
Update all callers. Use std::sort to sort sym_classes.
(find_linespec_symbols): Remove cleanup.
Diffstat (limited to 'gdb/c-lang.c')
0 files changed, 0 insertions, 0 deletions