From accd28c1aa02439901c05a9a41d9a3611978d809 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Fri, 25 Jul 2025 15:13:36 -0400 Subject: 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 --- gcc/diagnostic-output-spec.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/diagnostic-output-spec.h') diff --git a/gcc/diagnostic-output-spec.h b/gcc/diagnostic-output-spec.h index e02cdfe..1ffe4a3 100644 --- a/gcc/diagnostic-output-spec.h +++ b/gcc/diagnostic-output-spec.h @@ -22,7 +22,7 @@ along with GCC; see the file COPYING3. If not see #define GCC_DIAGNOSTIC_OUTPUT_SPEC_H #include "diagnostic-format.h" -#include "diagnostic-output-file.h" +#include "diagnostics/output-file.h" namespace diagnostics_output_spec { @@ -52,7 +52,7 @@ class context const std::string &scheme_name, const char *metavar) const; - diagnostic_output_file + diagnostics::output_file open_output_file (label_text &&filename) const; const char * -- cgit v1.1