diff options
| author | Tom Tromey <tom@tromey.com> | 2025-09-29 09:31:59 -0600 |
|---|---|---|
| committer | Tom Tromey <tom@tromey.com> | 2025-10-09 15:43:43 -0600 |
| commit | f8e7ce792fb3e7b30de60c11b5d155af01dad78c (patch) | |
| tree | 778e50a078631dc3e18833480962cfe2503b7b5a /gdb/testsuite/gdb.python/py-cmd-exception.py | |
| parent | a736ff7d886dbcc85026264c3ce11c125a8409b2 (diff) | |
| download | binutils-f8e7ce792fb3e7b30de60c11b5d155af01dad78c.zip binutils-f8e7ce792fb3e7b30de60c11b5d155af01dad78c.tar.gz binutils-f8e7ce792fb3e7b30de60c11b5d155af01dad78c.tar.bz2 | |
Remove linespec.c:symtab_collector class
linespec.c has a symtab_collector class that is readily replaced by a
lambda. I think the result is more clear.
I considered using the unordered_dense 'extract' method as well, to
make the code a bit more efficient -- but it wasn't clear to me if the
ordering of the vector mattered, and so I've just added a comment.
Reviewed-By: Guinevere Larsen <guinevere@redhat.com>
Diffstat (limited to 'gdb/testsuite/gdb.python/py-cmd-exception.py')
0 files changed, 0 insertions, 0 deletions
