Go to the source code of this file.
|
enum | diagnostics_column_unit { DIAGNOSTICS_COLUMN_UNIT_DISPLAY
, DIAGNOSTICS_COLUMN_UNIT_BYTE
} |
enum | diagnostics_escape_format { DIAGNOSTICS_ESCAPE_FORMAT_UNICODE
, DIAGNOSTICS_ESCAPE_FORMAT_BYTES
} |
enum | diagnostics_output_format { DIAGNOSTICS_OUTPUT_FORMAT_TEXT
, DIAGNOSTICS_OUTPUT_FORMAT_SARIF_STDERR
, DIAGNOSTICS_OUTPUT_FORMAT_SARIF_FILE
} |
enum | diagnostic_path_format { DPF_NONE
, DPF_SEPARATE_EVENTS
, DPF_INLINE_EVENTS
} |
enum | diagnostics_extra_output_kind { EXTRA_DIAGNOSTIC_OUTPUT_none
, EXTRA_DIAGNOSTIC_OUTPUT_fixits_v1
, EXTRA_DIAGNOSTIC_OUTPUT_fixits_v2
} |
enum | diagnostic_text_art_charset { DIAGNOSTICS_TEXT_ART_CHARSET_NONE
, DIAGNOSTICS_TEXT_ART_CHARSET_ASCII
, DIAGNOSTICS_TEXT_ART_CHARSET_UNICODE
, DIAGNOSTICS_TEXT_ART_CHARSET_EMOJI
} |
◆ diagnostic_path_format
An enum for controlling how diagnostic paths should be printed.
Enumerator |
---|
DPF_NONE | |
DPF_SEPARATE_EVENTS | |
DPF_INLINE_EVENTS | |
◆ diagnostic_text_art_charset
Values for -fdiagnostics-text-art-charset=.
Enumerator |
---|
DIAGNOSTICS_TEXT_ART_CHARSET_NONE | |
DIAGNOSTICS_TEXT_ART_CHARSET_ASCII | |
DIAGNOSTICS_TEXT_ART_CHARSET_UNICODE | |
DIAGNOSTICS_TEXT_ART_CHARSET_EMOJI | |
◆ diagnostics_column_unit
Declare enums for diagnostics::context and related types.
Copyright (C) 2000-2025 Free Software Foundation, Inc.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3, or (at your option) any later
version.
GCC is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
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/>.
An enum for controlling what units to use for the column number
when diagnostics are output, used by the -fdiagnostics-column-unit option.
Tabs will be expanded or not according to the value of -ftabstop. The origin
(default 1) is controlled by -fdiagnostics-column-origin.
Enumerator |
---|
DIAGNOSTICS_COLUMN_UNIT_DISPLAY | |
DIAGNOSTICS_COLUMN_UNIT_BYTE | |
◆ diagnostics_escape_format
An enum for controlling how to print non-ASCII characters/bytes when
a diagnostic suggests escaping the source code on output.
Enumerator |
---|
DIAGNOSTICS_ESCAPE_FORMAT_UNICODE | |
DIAGNOSTICS_ESCAPE_FORMAT_BYTES | |
◆ diagnostics_extra_output_kind
An enum for capturing values of GCC_EXTRA_DIAGNOSTIC_OUTPUT,
and for -fdiagnostics-parseable-fixits.
Enumerator |
---|
EXTRA_DIAGNOSTIC_OUTPUT_none | |
EXTRA_DIAGNOSTIC_OUTPUT_fixits_v1 | |
EXTRA_DIAGNOSTIC_OUTPUT_fixits_v2 | |
◆ diagnostics_output_format
Enum for overriding the standard output format.
Enumerator |
---|
DIAGNOSTICS_OUTPUT_FORMAT_TEXT | |
DIAGNOSTICS_OUTPUT_FORMAT_SARIF_STDERR | |
DIAGNOSTICS_OUTPUT_FORMAT_SARIF_FILE | |