Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / diagnostic-text-art.h
bloba0d8a78f52a1d3a7a12c1923e220245949e63168
1 /* Copyright (C) 2023 Free Software Foundation, Inc.
2 Contributed by David Malcolm <dmalcolm@redhat.com>.
4 This file is part of GCC.
6 GCC is free software; you can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free
8 Software Foundation; either version 3, or (at your option) any later
9 version.
11 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 for more details.
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING3. If not see
18 <http://www.gnu.org/licenses/>. */
20 #ifndef GCC_DIAGNOSTIC_TEXT_ART_H
21 #define GCC_DIAGNOSTIC_TEXT_ART_H
23 /* Values for -fdiagnostics-text-art-charset=. */
25 enum diagnostic_text_art_charset
27 /* No text art diagrams shall be emitted. */
28 DIAGNOSTICS_TEXT_ART_CHARSET_NONE,
30 /* Use pure ASCII for text art diagrams. */
31 DIAGNOSTICS_TEXT_ART_CHARSET_ASCII,
33 /* Use ASCII + conservative use of other unicode characters
34 in text art diagrams. */
35 DIAGNOSTICS_TEXT_ART_CHARSET_UNICODE,
37 /* Use Emoji. */
38 DIAGNOSTICS_TEXT_ART_CHARSET_EMOJI
41 const enum diagnostic_text_art_charset DIAGNOSTICS_TEXT_ART_CHARSET_DEFAULT
42 = DIAGNOSTICS_TEXT_ART_CHARSET_EMOJI;
44 extern void
45 diagnostics_text_art_charset_init (diagnostic_context *context,
46 enum diagnostic_text_art_charset charset);
49 #endif /* ! GCC_DIAGNOSTIC_TEXT_ART_H */