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 | 7243d0118af6f72e3e72db1eb66941fec4530963 (patch) | |
tree | 586bcbaac48e878ee2ccefec52fd357b2f78b73b /gdb/compile/compile-cplus-symbols.c | |
parent | 2a90824133f9d46970c9c52b68ef2ccbeb6389ac (diff) | |
download | gdb-7243d0118af6f72e3e72db1eb66941fec4530963.zip gdb-7243d0118af6f72e3e72db1eb66941fec4530963.tar.gz gdb-7243d0118af6f72e3e72db1eb66941fec4530963.tar.bz2 |
Change `function_symbols' to std::vector
This patch changes the `function_symbols' members in linespec.c structures
from a VEC to a std::vector.
gdb/ChangeLog:
* linespec.c (struct linespec) <function_symbols>: Change type to
std::vector. Update all users.
(struct collect_info) <function_symbols>: Likewise.
(convert_linespec_to_sals): Use std::sort to sort function_symbols.
(std_compare_symbols): New function.
(find_method, find_function_symbols, find_linespec_symbols)
(find_label_symbols_in_block): Change `symbols' parameter to
std::vector. Update all callers.
(find_label_symbols): Likewise for `function_symbols' and
`label_funcs_ret'.
Diffstat (limited to 'gdb/compile/compile-cplus-symbols.c')
0 files changed, 0 insertions, 0 deletions