|
GCC Middle and Back End API Reference
|
#include <diagnostic.h>

Data Fields | |
| text_info | message |
| location_t | location |
| unsigned int | override_column |
| void * | x_data |
| diagnostic_t | kind |
| int | option_index |
A diagnostic is described by the MESSAGE to send, the FILE and LINE of its context and its KIND (ice, error, warning, note, ...) See complete list in diagnostic.def.
| diagnostic_t diagnostic_info::kind |
The kind of diagnostic it is about.
Referenced by diagnostic_build_prefix(), diagnostic_pop_diagnostics(), diagnostic_push_diagnostics(), and diagnostic_report_diagnostic().
| location_t diagnostic_info::location |
Referenced by adjust_line(), diagnostic_push_diagnostics(), and diagnostic_report_current_function().
| text_info diagnostic_info::message |
Referenced by trim_filename().
| int diagnostic_info::option_index |
Which OPT_* directly controls this diagnostic.
Referenced by emit_diagnostic(), inform_n(), and verbatim().
| unsigned int diagnostic_info::override_column |
| void* diagnostic_info::x_data |
Auxiliary data for client.