From a211066f1d3628ad9d8edd6ebf786df6ff5bb1b2 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Fri, 25 Jul 2025 15:13:41 -0400 Subject: 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 --- gcc/warning-control.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/warning-control.cc') diff --git a/gcc/warning-control.cc b/gcc/warning-control.cc index 48446a7..e04ef69 100644 --- a/gcc/warning-control.cc +++ b/gcc/warning-control.cc @@ -28,7 +28,7 @@ #include "gimple.h" #include "cgraph.h" #include "hash-map.h" -#include "diagnostic-spec.h" +#include "gcc-diagnostic-spec.h" /* Return the no-warning bit for EXPR. */ -- cgit v1.1