]> git.ipfire.org Git - thirdparty/gcc.git/commit
Rename diagnostic-spec.{cc,h} to gcc-diagnostic-spec.{cc,h}
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 25 Jul 2025 19:13:41 +0000 (15:13 -0400)
committerDavid Malcolm <dmalcolm@redhat.com>
Fri, 25 Jul 2025 19:13:41 +0000 (15:13 -0400)
commita211066f1d3628ad9d8edd6ebf786df6ff5bb1b2
tree733f1c97383268694a9024fc117d090fe36127b7
parentc48df0fdfc0647b991b5c6304c9ddc7518b5730f
Rename diagnostic-spec.{cc,h} to gcc-diagnostic-spec.{cc,h}

This has GCC-specific stuff in it (options and "GTY"), and so should
not be in the "diagnostics/" subdir, and should avoid a "diagnostics"
prefix in its name.

No functional change intended.

gcc/ChangeLog:
* Makefile.in (OBJS-libcommon): Replace diagnostic-spec.o with
gcc-diagnostic-spec.o.
(GTFILES): Replace diagnostic-spec.h with gcc-diagnostic-spec.h.
* diagnostic-spec.cc: Move to...
* gcc-diagnostic-spec.cc: ...here.
* diagnostic-spec.h: Move to...
* gcc-diagnostic-spec.h: ...here.
* gengtype.cc (open_base_files): Replace diagnostic-spec.h with
gcc-diagnostic-spec.h.
* warning-control.cc: Likewise.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
gcc/Makefile.in
gcc/gcc-diagnostic-spec.cc [moved from gcc/diagnostic-spec.cc with 99% similarity]
gcc/gcc-diagnostic-spec.h [moved from gcc/diagnostic-spec.h with 96% similarity]
gcc/gengtype.cc
gcc/warning-control.cc