]> git.ipfire.org Git - thirdparty/gcc.git/commit
diagnostics: introduce context-options.h
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 25 Jul 2025 19:13:44 +0000 (15:13 -0400)
committerDavid Malcolm <dmalcolm@redhat.com>
Fri, 25 Jul 2025 19:13:44 +0000 (15:13 -0400)
commit8aa544179dc971ac9af364ced5f128581ed09843
treea755eeeb5eccd4fbe79ae735441a473f21824af5
parent5f88037941d6fbfef7281f767dcc31a5aa61f0cd
diagnostics: introduce context-options.h

No functional change intended.

gcc/ChangeLog:
* diagnostic.h (enum diagnostics_column_unit): Move to
diagnostics/context-options.h.
(enum diagnostics_escape_format): Likewise.
(enum diagnostics_output_format): Likewise.
(enum diagnostic_path_format): Likewise.
(enum diagnostics_extra_output_kind): Likewise.
(enum diagnostic_text_art_charset): Likewise.
* diagnostics/context-options.h: New file, based on the above
material.
* diagnostics/context.h: Include it.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
gcc/diagnostic.h
gcc/diagnostics/context-options.h [new file with mode: 0644]
gcc/diagnostics/context.h