diff options
author | David Malcolm <dmalcolm@redhat.com> | 2023-11-06 14:28:41 -0500 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2023-11-06 14:28:41 -0500 |
commit | 579bb65cdd35a421d731b64ecc8a31064abc73a9 (patch) | |
tree | e330ce4cf9750be549b6e316200613f9d42b2658 /gcc/gcc.cc | |
parent | 7e3c58bfc1d957e48faf0752758da0fed811ed58 (diff) | |
download | gcc-579bb65cdd35a421d731b64ecc8a31064abc73a9.zip gcc-579bb65cdd35a421d731b64ecc8a31064abc73a9.tar.gz gcc-579bb65cdd35a421d731b64ecc8a31064abc73a9.tar.bz2 |
diagnostics: eliminate diagnostic_kind_count
No functional change intended.
gcc/ChangeLog:
* diagnostic.cc (diagnostic_context::check_max_errors): Replace
uses of diagnostic_kind_count with simple field acesss.
(diagnostic_context::report_diagnostic): Likewise.
(diagnostic_text_output_format::~diagnostic_text_output_format):
Replace use of diagnostic_kind_count with
diagnostic_context::diagnostic_count.
* diagnostic.h (diagnostic_kind_count): Delete.
(errorcount): Replace use of diagnostic_kind_count with
diagnostic_context::diagnostic_count.
(warningcount): Likewise.
(werrorcount): Likewise.
(sorrycount): Likewise.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc/gcc.cc')
0 files changed, 0 insertions, 0 deletions