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 |
Various declarations for language-independent diagnostics subroutines. Copyright (C) 2000-2013 Free Software Foundation, Inc. Contributed by Gabriel Dos Reis gdr@c odes ource ry.c om
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/. 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.