]> git.ipfire.org Git - thirdparty/gcc.git/commit
diagnostics: move diagnostic_info to its own header
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 25 Jul 2025 19:13:38 +0000 (15:13 -0400)
committerDavid Malcolm <dmalcolm@redhat.com>
Fri, 25 Jul 2025 19:13:38 +0000 (15:13 -0400)
commit0c0cb2f00c0e9e9d46059561c3ae8c0cc12be41b
tree3813996060042c059673bcdcdaa74fb4e8b0190d
parentf3157d042665a3e8beabb5d5cfcabeee8151e83c
diagnostics: move diagnostic_info to its own header

No functional change intended.

gcc/ChangeLog:
* diagnostic.h (struct diagnostic_info): Move to
diagnostics/diagnostic-info.h as diagnostics::diagnostic_info.
Add typedef bringing it back into root namespace, for now.
* diagnostics/diagnostic-info.h: New file, based on the above.
* langhooks-def.h: Update for diagnostic_info moving into
namespace diagnostics.
* langhooks.h: Likewise.

gcc/jit/ChangeLog:
* jit-playback.cc: Update for diagnostic_info moving into
namespace diagnostics.
* jit-playback.h: Likewise.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
gcc/diagnostic.h
gcc/diagnostics/diagnostic-info.h [new file with mode: 0644]
gcc/jit/jit-playback.cc
gcc/jit/jit-playback.h
gcc/langhooks-def.h
gcc/langhooks.h