More uses of checked_static_cast
authorTom Tromey <tom@tromey.com>
Sat, 24 Sep 2022 19:38:42 +0000 (13:38 -0600)
committerTom Tromey <tom@tromey.com>
Sun, 16 Oct 2022 16:50:47 +0000 (10:50 -0600)
commitda6f3d00b490caf570a8bda0bab1cd78388bb795
tree0b3d1874f12122bb4eaf1f9259a0c4ce1e029a92
parent98ed24fb35d89eb20179edf6c12f599c7a9e228e
More uses of checked_static_cast

This patch changes a few more uses of static_cast to use
checked_static_cast.  In this patch, cast-to-references are converted
by moving the dereference outside of the cast, as checked_static_cast
only handles pointers.
gdb/dwarf2/read.c