commit | f8e7ce792fb3e7b30de60c11b5d155af01dad78c | [log] [tgz] |
---|---|---|
author | Tom Tromey <tom@tromey.com> | Mon Sep 29 09:31:59 2025 -0600 |
committer | Tom Tromey <tom@tromey.com> | Thu Oct 09 15:43:43 2025 -0600 |
tree | 778e50a078631dc3e18833480962cfe2503b7b5a | |
parent | a736ff7d886dbcc85026264c3ce11c125a8409b2 [diff] |
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>