]> git.ipfire.org Git - thirdparty/gcc.git/commit
diagnostics: rename diagnostic_output_file to diagnostics::output_file
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 25 Jul 2025 19:13:36 +0000 (15:13 -0400)
committerDavid Malcolm <dmalcolm@redhat.com>
Fri, 25 Jul 2025 19:13:36 +0000 (15:13 -0400)
commitaccd28c1aa02439901c05a9a41d9a3611978d809
tree7ab8828b744160c5bf171da7ef8d427c4c0b0887
parentbff1af9ebf6949da6274e94f7bf5bcc17d937a3d
diagnostics: rename diagnostic_output_file to diagnostics::output_file

No functional change intended.

gcc/ChangeLog:
* diagnostic-format-html.cc: Update #include for move of
diagnostic-output-file.h to diagnostics/output-file.h.  Update for
move of diagnostic_output_file to diagnostics::output_file.
* diagnostic-format-html.h: Likewise.
* diagnostic-format-sarif.cc: Likewise.
* diagnostic-format-sarif.h: Likewise.
* diagnostic-output-spec.cc: Likewise.
* diagnostic-output-spec.h (along): Likewise.
* diagnostic-output-file.h: Move to...
* diagnostics/output-file.h: ...here, updating header guard.
(class diagnostic_output_file): Move to...
(class diagnostics::output_file): ...here.
* libgdiagnostics.cc (sarif_sink::sarif_sink): Update for
move of diagnostic_output_file to diagnostics::output_file.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
gcc/diagnostic-format-html.cc
gcc/diagnostic-format-html.h
gcc/diagnostic-format-sarif.cc
gcc/diagnostic-format-sarif.h
gcc/diagnostic-output-spec.cc
gcc/diagnostic-output-spec.h
gcc/diagnostics/output-file.h [moved from gcc/diagnostic-output-file.h with 78% similarity]
gcc/libgdiagnostics.cc