]> git.ipfire.org Git - thirdparty/gcc.git/commit
diagnostics: move gcc/diagnostic-color.{h,cc} to gcc/diagnostics/color.{h,cc}
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)
commit8a1a19f714044b1e0cc3f33add5da0f988b2a703
tree576ffc45cb4972f25b2d59a595a9766cbebb38a6
parent1b5295431ed7007f4ef149a99f438cf21d71e042
diagnostics: move gcc/diagnostic-color.{h,cc} to gcc/diagnostics/color.{h,cc}

No functional change intended.

gcc/ChangeLog:
* Makefile.in (OBJS-libcommon): Replace diagnostic-color.o with
diagnostics/color.o.
(PLUGIN_HEADERS): Remove diagnostic-color.h in favor of glob.
* common.opt: Update for move of diagnostic-color.h to
diagnostics/color.h.
* diagnostic.cc: Likewise.
* diagnostic-color.cc: Move to...
* diagnostics/color.cc: ...here.
* diagnostic-color.h: Move to...
* diagnostics/color.h: ...here.
* diagnostics/edit-context.cc: Update for move of
diagnostic-color.h to diagnostics/color.h.
* diagnostics/output-spec.cc: Likewise.
* diagnostics/paths-output.cc: Likewise.
* diagnostics/source-printing.cc: Likewise.
* diagnostics/text-sink.cc: Likewise.
* libgdiagnostics.cc: Likewise.
* opts.cc: Likewise.
* pretty-print-markup.h: Likewise.
* pretty-print.cc: Likewise.
* selftest-run-tests.cc: Likewise.
* selftest.h: Likewise.
* text-art/style.cc: Likewise.

gcc/cp/ChangeLog:
* error.cc: Update for move of diagnostic-color.h to
diagnostics/color.h.

gcc/fortran/ChangeLog:
* error.cc: Update for move of diagnostic-color.h to
diagnostics/color.h.

gcc/m2/ChangeLog:
* gm2-gcc/m2color.cc: Update for move of diagnostic-color.h to
diagnostics/color.h.

gcc/testsuite/ChangeLog:
* gcc.dg/plugin/analyzer_cpython_plugin.cc: Update for move of
diagnostic-color.h to diagnostics/color.h.
* gcc.dg/plugin/analyzer_kernel_plugin.cc: Likewise.
* gcc.dg/plugin/analyzer_known_fns_plugin.cc: Likewise.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
23 files changed:
gcc/Makefile.in
gcc/common.opt
gcc/cp/error.cc
gcc/diagnostic.cc
gcc/diagnostics/color.cc [moved from gcc/diagnostic-color.cc with 99% similarity]
gcc/diagnostics/color.h [moved from gcc/diagnostic-color.h with 95% similarity]
gcc/diagnostics/edit-context.cc
gcc/diagnostics/output-spec.cc
gcc/diagnostics/paths-output.cc
gcc/diagnostics/source-printing.cc
gcc/diagnostics/text-sink.cc
gcc/fortran/error.cc
gcc/libgdiagnostics.cc
gcc/m2/gm2-gcc/m2color.cc
gcc/opts.cc
gcc/pretty-print-markup.h
gcc/pretty-print.cc
gcc/selftest-run-tests.cc
gcc/selftest.h
gcc/testsuite/gcc.dg/plugin/analyzer_cpython_plugin.cc
gcc/testsuite/gcc.dg/plugin/analyzer_kernel_plugin.cc
gcc/testsuite/gcc.dg/plugin/analyzer_known_fns_plugin.cc
gcc/text-art/style.cc