]> git.ipfire.org Git - thirdparty/gcc.git/commit
diagnostics: move gcc/selftest-diagnostic.{h,cc} -> gcc/diagnostics/selftest-context...
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 25 Jul 2025 19:13:40 +0000 (15:13 -0400)
committerDavid Malcolm <dmalcolm@redhat.com>
Fri, 25 Jul 2025 19:13:40 +0000 (15:13 -0400)
commit1b5295431ed7007f4ef149a99f438cf21d71e042
tree3ed7c0369214ef03dd41853d0df2d4dd5f5d65db
parent783004835b47787bda40542f74522315e573a271
diagnostics: move gcc/selftest-diagnostic.{h,cc} -> gcc/diagnostics/selftest-context.{h,cc}

No functional change intended.

gcc/ChangeLog:
* Makefile.in (OBJS-libcommon): Replace selftest-diagnostic.o with
diagnostics/selftest-context.o.
* diagnostic.cc: Update for move of selftest-diagnostic.h to
diagnostics/selftest-context.h.
* diagnostics/html-sink.cc: Likewise.
* diagnostics/lazy-paths.cc: Likewise.
* diagnostics/output-spec.cc: Likewise.
* diagnostics/paths-output.cc: Likewise.
* diagnostics/sarif-sink.cc: Likewise.
* selftest-diagnostic.cc: Move to...
* diagnostics/selftest-context.cc: ...here and update for move of
header file.
* selftest-diagnostic.h: Move to...
* diagnostics/selftest-context.h: ...here.
* diagnostics/source-printing.cc: Update for move of
selftest-diagnostic.h to diagnostics/selftest-context.h.

gcc/c-family/ChangeLog:
* c-format.cc: Update for move of selftest-diagnostic.h to
diagnostics/selftest-context.h.

gcc/testsuite/ChangeLog:
* gcc.dg/plugin/expensive_selftests_plugin.cc: Update for move of
selftest-diagnostic.h to diagnostics/selftest-context.h.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
12 files changed:
gcc/Makefile.in
gcc/c-family/c-format.cc
gcc/diagnostic.cc
gcc/diagnostics/html-sink.cc
gcc/diagnostics/lazy-paths.cc
gcc/diagnostics/output-spec.cc
gcc/diagnostics/paths-output.cc
gcc/diagnostics/sarif-sink.cc
gcc/diagnostics/selftest-context.cc [moved from gcc/selftest-diagnostic.cc with 98% similarity]
gcc/diagnostics/selftest-context.h [moved from gcc/selftest-diagnostic.h with 93% similarity]
gcc/diagnostics/source-printing.cc
gcc/testsuite/gcc.dg/plugin/expensive_selftests_plugin.cc