diff options
author | Tom Tromey <tromey@adacore.com> | 2021-03-02 13:00:45 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2021-03-02 13:00:45 -0700 |
commit | 886d459fbea73da4b07bae37f4526b766cbd90e8 (patch) | |
tree | a72eacd92ad227823cade0255da0fbc1eda22a9c /gdb/ada-lang.h | |
parent | bdcccc56393c26b86265f94d4fcf55c20c938ab7 (diff) | |
download | binutils-886d459fbea73da4b07bae37f4526b766cbd90e8.zip binutils-886d459fbea73da4b07bae37f4526b766cbd90e8.tar.gz binutils-886d459fbea73da4b07bae37f4526b766cbd90e8.tar.bz2 |
Simplify resolve_subexp by using C++ algorithms
This changes resolve_subexp to use any_of and the erase-remove idiom
to simplify the code somewhat. This simplifies the next patch a bit.
gdb/ChangeLog
2021-03-02 Tom Tromey <tromey@adacore.com>
* ada-lang.c (resolve_subexp): Use any_of and erase-remove idiom.
Diffstat (limited to 'gdb/ada-lang.h')
0 files changed, 0 insertions, 0 deletions