diff options
author | Tom Tromey <tom@tromey.com> | 2018-03-31 12:52:57 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-04-05 07:39:37 -0600 |
commit | 8e8d776ead8187343652bda8aa373babe505bd4e (patch) | |
tree | 88f6459a6589bf602527b24f983ec6e9953436c8 /gdb/utils.h | |
parent | 9b2f85815c57d2eb4322a3d87464b5686cdbb391 (diff) | |
download | binutils-8e8d776ead8187343652bda8aa373babe505bd4e.zip binutils-8e8d776ead8187343652bda8aa373babe505bd4e.tar.gz binutils-8e8d776ead8187343652bda8aa373babe505bd4e.tar.bz2 |
Remove typep and VEC(typep) from linespec.c
This removes VEC(typep) from linespec.c in favor of std::vector. It
also removes the "typep" typedef. This change allowed the removal of
some cleanups.
I believe the previous cleanup code in find_superclass_methods could
result in a memory leak, so this patch is an improvement in that way
as well.
ChangeLog
2018-04-05 Tom Tromey <tom@tromey.com>
* linespec.c (typep): Remove typedef.
(find_methods, find_superclass_methods): Take a std::vector.
(find_method): Use std::vector.
Diffstat (limited to 'gdb/utils.h')
0 files changed, 0 insertions, 0 deletions