]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Split up a big 'if' in symtab.c
authorTom Tromey <tom@tromey.com>
Fri, 10 Mar 2023 18:48:25 +0000 (11:48 -0700)
committerTom Tromey <tom@tromey.com>
Sun, 28 Jan 2024 17:58:16 +0000 (10:58 -0700)
commitd4f48c1e26a550a8b3ba8312268b706454b00ee2
tree3786f16258d93de316cb05a8f4cbf3504bd75fa1
parentd4bf9040be06250a0ee07d5bd6dc8a1e42590415
Split up a big 'if' in symtab.c

global_symbol_searcher::add_matching_symbols in symtab.c has a
gigantic 'if' statement -- 33 lines of conditional expression.  This
patch splits it up into a series of separate 'if's.
gdb/symtab.c