Have filter_results take a std::vector
authorTom Tromey <tom@tromey.com>
Sat, 31 Mar 2018 18:16:54 +0000 (12:16 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 5 Apr 2018 13:39:35 +0000 (07:39 -0600)
commitf73c6ece7888af880d3b03b2d57ee7782f2a539b
tree862bac320f05f1453776ff347299a2fea2244dd6
parent53a0f8a250199af97ff8708e3899835086c7a24d
Have filter_results take a std::vector

This chagnes filter_results to take a std::vector, allowing the
removal of some cleanups in its callers.

ChangeLog
2018-04-05  Tom Tromey  <tom@tromey.com>

* linespec.c (filter_results): Use std::vector.
(decode_line_2, decode_line_full): Update.
gdb/ChangeLog
gdb/linespec.c