diff options
author | David Malcolm <dmalcolm@redhat.com> | 2020-09-22 11:29:02 -0400 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2020-09-22 21:17:56 -0400 |
commit | fefc209299236593fcc3004c874b2602a3735056 (patch) | |
tree | ca0eff05d593af72951103566c15d33b8b2ae08d /libgo | |
parent | 63cd53d2f5da07856340bbea11ee09ab1125e8c0 (diff) | |
download | gcc-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