]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Use checked_static_cast in more places
authorTom Tromey <tromey@adacore.com>
Wed, 17 Aug 2022 17:47:17 +0000 (11:47 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 12 Sep 2022 20:25:06 +0000 (14:25 -0600)
commit5f48d886a9ce0b7d109a26c860adf66330ca65cf
tree27ac0194e55feb3eb8a4a1ea9541fa4cec0c6652
parent29a6701e530a4119d3c0d261da2b7b24034c9233
Use checked_static_cast in more places

I went through all the uses of dynamic_cast<> in gdb, looking for ones
that could be replaced with checked_static_cast.  This patch is the
result.  Regression tested on x86-64 Fedora 34.
gdb/ada-exp.y
gdb/ax-gdb.c
gdb/disasm.c
gdb/location.c
gdb/mi/mi-out.c
gdb/tracepoint.c
gdb/tui/tui-io.c