diff options
author | David Malcolm <dmalcolm@redhat.com> | 2023-11-03 13:55:52 -0400 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2023-11-03 13:55:52 -0400 |
commit | ae8abcb81ed81456c0fe5ff8e0c060c9fb9c82d7 (patch) | |
tree | 0cd24bf361e018a67e0f19f2245f8e1ba9dacf6a /libgcc/fixed-bit.c | |
parent | 413ac2c8608cd0378955af27f69e45274b025b32 (diff) | |
download | gcc-ae8abcb81ed81456c0fe5ff8e0c060c9fb9c82d7.zip gcc-ae8abcb81ed81456c0fe5ff8e0c060c9fb9c82d7.tar.gz gcc-ae8abcb81ed81456c0fe5ff8e0c060c9fb9c82d7.tar.bz2 |
diagnostics: consolidate group-handling fields in diagnostic_context
No functional change intended.
gcc/ChangeLog:
* diagnostic.cc (diagnostic_initialize): Update for consolidation
of group-based fields.
(diagnostic_report_diagnostic): Likewise.
(diagnostic_context::begin_group): New, based on body of
auto_diagnostic_group's ctor.
(diagnostic_context::end_group): New, based on body of
auto_diagnostic_group's dtor.
(auto_diagnostic_group::auto_diagnostic_group): Convert to a call
to begin_group.
(auto_diagnostic_group::~auto_diagnostic_group): Convert to a call
to end_group.
* diagnostic.h (diagnostic_context::begin_group): New decl.
(diagnostic_context::end_group): New decl.
(diagnostic_context::diagnostic_group_nesting_depth): Rename to...
(diagnostic_context::m_diagnostic_groups.m_nesting_depth):
...this.
(diagnostic_context::diagnostic_group_emission_count): Rename
to...
(diagnostic_context::m_diagnostic_groups::m_emission_count):
...this.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'libgcc/fixed-bit.c')
0 files changed, 0 insertions, 0 deletions