aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2025-07-25 15:13:40 -0400
committerDavid Malcolm <dmalcolm@redhat.com>2025-07-25 15:13:40 -0400
commitd67c91aa7541e69733d8c2b53af583b300cb0900 (patch)
treef591c25d093576dd9007b9903e8f7f31d39e6b87 /gcc
parent8a1a19f714044b1e0cc3f33add5da0f988b2a703 (diff)
downloadgcc-d67c91aa7541e69733d8c2b53af583b300cb0900.zip
gcc-d67c91aa7541e69733d8c2b53af583b300cb0900.tar.gz
gcc-d67c91aa7541e69733d8c2b53af583b300cb0900.tar.bz2
diagnostics: gcc/diagnostic-url.h -> gcc/diagnostics/url.h
No functional change intended. gcc/ChangeLog: * common.opt: Update for move of diagnostic-url.h to diagnostics/url.h. * diagnostic.cc: Likewise. * diagnostics/color.cc: Likewise. * diagnostics/text-sink.cc: Likewise. * diagnostic-url.h: Move to... * diagnostics/url.h: ...here. * libgdiagnostics.cc: Update for move of diagnostic-url.h to diagnostics/url.h. * pretty-print.h: Likewise. Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc')
-rw-r--r--gcc/common.opt2
-rw-r--r--gcc/diagnostic.cc2
-rw-r--r--gcc/diagnostics/color.cc2
-rw-r--r--gcc/diagnostics/text-sink.cc2
-rw-r--r--gcc/diagnostics/url.h (renamed from gcc/diagnostic-url.h)6
-rw-r--r--gcc/libgdiagnostics.cc2
-rw-r--r--gcc/pretty-print.h2
7 files changed, 9 insertions, 9 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index 0c9d010..70659fa 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -1471,7 +1471,7 @@ Driver Common Joined RejectNegative Var(flag_diagnostics_show_urls) Enum(diagnos
; Required for these enum values.
SourceInclude
-diagnostic-url.h
+diagnostics/url.h
Enum
Name(diagnostic_url_rule) Type(int)
diff --git a/gcc/diagnostic.cc b/gcc/diagnostic.cc
index c6e5523..74a3a0b 100644
--- a/gcc/diagnostic.cc
+++ b/gcc/diagnostic.cc
@@ -32,7 +32,7 @@ along with GCC; see the file COPYING3. If not see
#include "backtrace.h"
#include "diagnostic.h"
#include "diagnostics/color.h"
-#include "diagnostic-url.h"
+#include "diagnostics/url.h"
#include "diagnostics/metadata.h"
#include "diagnostics/paths.h"
#include "diagnostics/client-data-hooks.h"
diff --git a/gcc/diagnostics/color.cc b/gcc/diagnostics/color.cc
index 68a50f2..622027b 100644
--- a/gcc/diagnostics/color.cc
+++ b/gcc/diagnostics/color.cc
@@ -20,7 +20,7 @@
#define INCLUDE_VECTOR
#include "system.h"
#include "diagnostics/color.h"
-#include "diagnostic-url.h"
+#include "diagnostics/url.h"
#include "label-text.h"
#ifdef __MINGW32__
diff --git a/gcc/diagnostics/text-sink.cc b/gcc/diagnostics/text-sink.cc
index a602e23..6fdbf22 100644
--- a/gcc/diagnostics/text-sink.cc
+++ b/gcc/diagnostics/text-sink.cc
@@ -26,7 +26,7 @@ along with GCC; see the file COPYING3. If not see
#include "intl.h"
#include "diagnostic.h"
#include "diagnostics/color.h"
-#include "diagnostic-url.h"
+#include "diagnostics/url.h"
#include "diagnostics/metadata.h"
#include "diagnostics/paths.h"
#include "diagnostics/client-data-hooks.h"
diff --git a/gcc/diagnostic-url.h b/gcc/diagnostics/url.h
index d54775b..89efa36 100644
--- a/gcc/diagnostic-url.h
+++ b/gcc/diagnostics/url.h
@@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
-#ifndef GCC_DIAGNOSTIC_URL_H
-#define GCC_DIAGNOSTIC_URL_H
+#ifndef GCC_DIAGNOSTICS_URL_H
+#define GCC_DIAGNOSTICS_URL_H
/* Whether to add URLs to diagnostics:
- DIAGNOSTICS_URL_NO: never
@@ -49,4 +49,4 @@ const diagnostic_url_format URL_FORMAT_DEFAULT = URL_FORMAT_BEL;
extern diagnostic_url_format determine_url_format (diagnostic_url_rule_t);
-#endif /* ! GCC_DIAGNOSTIC_URL_H */
+#endif /* ! GCC_DIAGNOSTICS_URL_H */
diff --git a/gcc/libgdiagnostics.cc b/gcc/libgdiagnostics.cc
index 868f9db..0bd4b12 100644
--- a/gcc/libgdiagnostics.cc
+++ b/gcc/libgdiagnostics.cc
@@ -26,7 +26,7 @@ along with GCC; see the file COPYING3. If not see
#include "intl.h"
#include "diagnostic.h"
#include "diagnostics/color.h"
-#include "diagnostic-url.h"
+#include "diagnostics/url.h"
#include "diagnostics/metadata.h"
#include "diagnostics/paths.h"
#include "diagnostics/client-data-hooks.h"
diff --git a/gcc/pretty-print.h b/gcc/pretty-print.h
index 6cd9150..ced2e3c 100644
--- a/gcc/pretty-print.h
+++ b/gcc/pretty-print.h
@@ -23,7 +23,7 @@ along with GCC; see the file COPYING3. If not see
#include "obstack.h"
#include "rich-location.h"
-#include "diagnostic-url.h"
+#include "diagnostics/url.h"
/* Maximum number of format string arguments. */
#define PP_NL_ARGMAX 30