diff options
author | Tom Tromey <tom@tromey.com> | 2018-03-31 11:01:55 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-04-05 07:39:35 -0600 |
commit | 53a0f8a250199af97ff8708e3899835086c7a24d (patch) | |
tree | 4d75eb1fcc10f892db6720cbabaf2ec24331580c /readline | |
parent | a5b5adf529fa64391bc1ef733b3e78f15d94c4b9 (diff) | |
download | gdb-53a0f8a250199af97ff8708e3899835086c7a24d.zip gdb-53a0f8a250199af97ff8708e3899835086c7a24d.tar.gz gdb-53a0f8a250199af97ff8708e3899835086c7a24d.tar.bz2 |
Return std::string from canonical_to_fullform
This changes canonical_to_fullform to return a std::string, and
changes decode_line_2 to use std::vector. This allows for the removal
of some cleanups.
ChangeLog
2018-04-05 Tom Tromey <tom@tromey.com>
* linespec.c (canonical_to_fullform): Return std::string.
(filter_results): Update.
(struct decode_line_2_item): Add constructor.
<fullform, displayform>: Now std::string.
(decode_line_2_compare_items): Now a std::sort comparator.
(decode_line_2): Update.
Diffstat (limited to 'readline')
0 files changed, 0 insertions, 0 deletions