aboutsummaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2020-09-22 11:29:02 -0400
committerDavid Malcolm <dmalcolm@redhat.com>2020-09-22 21:17:56 -0400
commitfefc209299236593fcc3004c874b2602a3735056 (patch)
treeca0eff05d593af72951103566c15d33b8b2ae08d /libgo
parent63cd53d2f5da07856340bbea11ee09ab1125e8c0 (diff)
downloadgcc-fefc209299236593fcc3004c874b2602a3735056.zip
gcc-fefc209299236593fcc3004c874b2602a3735056.tar.gz
gcc-fefc209299236593fcc3004c874b2602a3735056.tar.bz2
analyzer: use switch in exploded_node::on_stmt
This patch replaces a sequence of dyn_cast to different gimple stmt types in exploded_node::on_stmt with a switch on the gimple_code. This makes clearer which kinds of stmt are currently treated as no-ops, as a precursor to handling them properly. No functional change intended. gcc/analyzer/ChangeLog: * engine.cc (exploded_node::on_stmt): Replace sequence of dyn_cast with switch.
Diffstat (limited to 'libgo')
0 files changed, 0 insertions, 0 deletions