GCC Middle and Back End API Reference
diagnostic_info Struct Reference

#include <diagnostic.h>

Collaboration diagram for diagnostic_info:

Data Fields

text_info message
location_t location
unsigned int override_column
void * x_data
diagnostic_t kind
int option_index

Detailed Description

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


Field Documentation

diagnostic_t diagnostic_info::kind
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.


The documentation for this struct was generated from the following file: