diff options
author | David Malcolm <dmalcolm@redhat.com> | 2025-07-25 15:13:36 -0400 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2025-07-25 15:13:36 -0400 |
commit | accd28c1aa02439901c05a9a41d9a3611978d809 (patch) | |
tree | 7ab8828b744160c5bf171da7ef8d427c4c0b0887 /gcc/diagnostic-output-spec.h | |
parent | bff1af9ebf6949da6274e94f7bf5bcc17d937a3d (diff) | |
download | gcc-accd28c1aa02439901c05a9a41d9a3611978d809.zip gcc-accd28c1aa02439901c05a9a41d9a3611978d809.tar.gz gcc-accd28c1aa02439901c05a9a41d9a3611978d809.tar.bz2 |
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>
Diffstat (limited to 'gcc/diagnostic-output-spec.h')
-rw-r--r-- | gcc/diagnostic-output-spec.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 * |