aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2024-06-21 18:20:38 -0400
committerDavid Malcolm <dmalcolm@redhat.com>2024-06-21 18:20:38 -0400
commitccbcde5ec0e481e1ea775649d59691b6f5fcc5a1 (patch)
treec85d19c0ee9c144b542d73de8e02894e155950f2 /gcc/ada
parent4819dc7d4b84afa98881ffb8471cf19bc362221b (diff)
downloadgcc-ccbcde5ec0e481e1ea775649d59691b6f5fcc5a1.zip
gcc-ccbcde5ec0e481e1ea775649d59691b6f5fcc5a1.tar.gz
gcc-ccbcde5ec0e481e1ea775649d59691b6f5fcc5a1.tar.bz2
diagnostics: remove duplicate copies of diagnostic_kind_text
No functional change intended. gcc/ChangeLog: * diagnostic-format-json.cc (json_output_format::on_end_diagnostic): Use get_diagnostic_kind_text rather than embedding a duplicate copy of the table. * diagnostic-format-sarif.cc (make_rule_id_for_diagnostic_kind): Likewise. * diagnostic.cc (get_diagnostic_kind_text): New. * diagnostic.h (get_diagnostic_kind_text): New decl. Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc/ada')
0 files changed, 0 insertions, 0 deletions