aboutsummaryrefslogtreecommitdiff
path: root/binutils/dwarf.c
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2020-10-27 13:28:27 +0100
committerTom de Vries <tdevries@suse.de>2020-10-27 13:28:27 +0100
commit61eb46a4fb2d7e9aeae3830f9eb31f17592ba93c (patch)
treef44483355a3f162358cafe4236a58e2d208fe123 /binutils/dwarf.c
parent733d554a4625db4ffb89b7a20e1cf27ab071ef4d (diff)
downloadgdb-61eb46a4fb2d7e9aeae3830f9eb31f17592ba93c.zip
gdb-61eb46a4fb2d7e9aeae3830f9eb31f17592ba93c.tar.gz
gdb-61eb46a4fb2d7e9aeae3830f9eb31f17592ba93c.tar.bz2
[gdb/symtab] Use early continue in find_pc_sect_compunit_symtab
Function find_pc_sect_compunit_symtab contains a loop: ... for (compunit_symtab *cust : obj_file->compunits ()) { ... if (...) { /* Lots of code. */ } } ... Reduce indentation level and improve readability by using early continue. Tested on x86_64-linux. gdb/ChangeLog: 2020-10-27 Tom de Vries <tdevries@suse.de> * symtab.c (find_pc_sect_compunit_symtab): Use early continue.
Diffstat (limited to 'binutils/dwarf.c')
0 files changed, 0 insertions, 0 deletions