22#ifndef GCC_DIAGNOSTIC_CORE_H
23#define GCC_DIAGNOSTIC_CORE_H
65#define GCC_DIAG_STYLE __gcc_tdiag__
70#if (CHECKING_P && GCC_VERSION >= 4001) || GCC_VERSION == BUILDING_GCC_VERSION
71#define ATTRIBUTE_GCC_DIAG(m, n) __attribute__ ((__format__ (GCC_DIAG_STYLE, m, n))) ATTRIBUTE_NONNULL(m)
73#define ATTRIBUTE_GCC_DIAG(m, n) ATTRIBUTE_NONNULL(m)
84 unsigned HOST_WIDE_INT,
85 const
char *, const
char *, ...)
89 unsigned HOST_WIDE_INT,
90 const
char *, const
char *, ...)
106extern
void error_n (location_t,
unsigned HOST_WIDE_INT, const
char *,
110extern
void error_at (rich_location *, const
char *, ...)
141extern
void inform_n (location_t,
unsigned HOST_WIDE_INT, const
char *,
156 const
char *, va_list *)
169extern void fnotice (FILE *,
const char *, ...)
~auto_diagnostic_group()
Definition diagnostic-global-context.cc:850
auto_diagnostic_group()
Definition diagnostic-global-context.cc:843
auto_diagnostic_nesting_level()
Definition diagnostic-global-context.cc:857
~auto_diagnostic_nesting_level()
Definition diagnostic-global-context.cc:862
bool bool bool bool bool bool void void sorry_at(location_t, const char *,...) ATTRIBUTE_GCC_DIAG(2
void internal_error(const char *,...) ATTRIBUTE_GCC_DIAG(1
void internal_error_no_backtrace(const char *,...) ATTRIBUTE_GCC_DIAG(1
bool bool bool void void error_n(location_t, unsigned HOST_WIDE_INT, const char *, const char *,...) ATTRIBUTE_GCC_DIAG(3
const char * trim_filename(const char *)
Definition errors.cc:112
void bool bool bool bool emit_diagnostic_valist_meta(enum diagnostics::kind, rich_location *, const diagnostics::metadata *, diagnostics::option_id, const char *, va_list *) ATTRIBUTE_GCC_DIAG(5
bool warning_at(location_t, diagnostics::option_id, const char *,...) ATTRIBUTE_GCC_DIAG(3
void bool bool bool emit_diagnostic_valist(enum diagnostics::kind, location_t, diagnostics::option_id, const char *, va_list *) ATTRIBUTE_GCC_DIAG(4
bool bool warning_n(location_t, diagnostics::option_id, unsigned HOST_WIDE_INT, const char *, const char *,...) ATTRIBUTE_GCC_DIAG(4
void void void void fatal_error(location_t, const char *,...) ATTRIBUTE_GCC_DIAG(2
void verbatim(const char *,...) ATTRIBUTE_GCC_DIAG(1
bool bool bool void error(const char *,...) ATTRIBUTE_GCC_DIAG(1
bool bool bool warning_meta(rich_location *, const diagnostics::metadata &, diagnostics::option_id, const char *,...) ATTRIBUTE_GCC_DIAG(4
void void void error_meta(rich_location *, const diagnostics::metadata &, const char *,...) ATTRIBUTE_GCC_DIAG(3
void ATTRIBUTE_NORETURN
Definition diagnostic-core.h:76
void bool bool bool bool bool seen_error(void)
Definition diagnostic-global-context.cc:744
void bool emit_diagnostic(enum diagnostics::kind, location_t, diagnostics::option_id, const char *,...) ATTRIBUTE_GCC_DIAG(4
bool bool bool bool bool bool void sorry(const char *,...) ATTRIBUTE_GCC_DIAG(1
bool bool bool permerror(location_t, const char *,...) ATTRIBUTE_GCC_DIAG(2
bool warning(diagnostics::option_id, const char *,...) ATTRIBUTE_GCC_DIAG(2
const char * progname
Definition errors.cc:36
bool pedwarn(location_t, diagnostics::option_id, const char *,...) ATTRIBUTE_GCC_DIAG(3
bool bool bool bool bool bool void void void void void inform_n(location_t, unsigned HOST_WIDE_INT, const char *, const char *,...) ATTRIBUTE_GCC_DIAG(3
#define ATTRIBUTE_GCC_DIAG(m, n)
Definition diagnostic-core.h:71
bool bool bool bool bool bool void void void inform(location_t, const char *,...) ATTRIBUTE_GCC_DIAG(2
bool bool bool bool bool permerror_opt(location_t, diagnostics::option_id, const char *,...) ATTRIBUTE_GCC_DIAG(3
void error_at(location_t, const char *,...) ATTRIBUTE_GCC_DIAG(2
void fnotice(FILE *file, const char *cmsgid,...)
Definition diagnostic-global-context.cc:822
Definition coretypes.h:167