diff options
author | David Malcolm <dmalcolm@redhat.com> | 2025-07-25 15:13:39 -0400 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2025-07-25 15:13:39 -0400 |
commit | 783004835b47787bda40542f74522315e573a271 (patch) | |
tree | 5a85d851d189f4c32867d9c15e4d6505875ae4b9 /gcc/tree-ssa-loop-prefetch.cc | |
parent | 0654c543363d935e19f2088dffc655688de35be6 (diff) | |
download | gcc-783004835b47787bda40542f74522315e573a271.zip gcc-783004835b47787bda40542f74522315e573a271.tar.gz gcc-783004835b47787bda40542f74522315e573a271.tar.bz2 |
diagnostics: move buffering code to its own .cc file
No functional change intended.
gcc/ChangeLog:
* Makefile.in (OBJS-libcommon): Add diagnostics/buffering.o.
* diagnostic.cc (diagnostics::context::set_diagnostic_buffer): Move to
diagnostics/buffering.cc.
(diagnostics::context::clear_diagnostic_buffer): Likewise.
(diagnostics::context::flush_diagnostic_buffer): Likewise.
(diagnostics::buffer::buffer): Likewise.
(diagnostics::buffer::~buffer): Likewise.
(diagnostics::buffer::dump): Likewise.
(diagnostics::buffer::empty_p): Likewise.
(diagnostics::buffer::move_to): Likewise.
(diagnostics::buffer::ensure_per_sink_buffers): Likewise.
* diagnostics/buffering.cc: New file, from material in diagnostic.cc.
* diagnostics/buffering.h: Fix comment.
* diagnostics/text-sink.h: Likewise.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc/tree-ssa-loop-prefetch.cc')
0 files changed, 0 insertions, 0 deletions