GCC Middle and Back End API Reference
|
#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "version.h"
#include "demangle.h"
#include "intl.h"
#include "backtrace.h"
#include "diagnostic.h"
#include "diagnostic-color.h"
#include "gcc-rich-location.h"
#include "text-range-label.h"
#include "selftest.h"
#include "selftest-diagnostic.h"
#include "selftest-diagnostic-show-locus.h"
#include "cpplib.h"
#include "text-art/types.h"
#include "text-art/theme.h"
#include "diagnostic-label-effects.h"
#include "xml.h"
#include "xml-printer.h"
Data Structures | |
struct | to_text |
struct | to_text::auto_check_tag_nesting |
struct | to_html |
struct | to_html::auto_check_tag_nesting |
Macros | |
#define | INCLUDE_MAP |
#define | INCLUDE_STRING |
#define | INCLUDE_VECTOR |
Functions | |
pretty_printer * | get_printer (to_text &sink) |
template<> | |
void | default_diagnostic_start_span_fn< to_text > (const diagnostic_location_print_policy &loc_policy, to_text &sink, expanded_location exploc) |
template<> | |
void | default_diagnostic_start_span_fn< to_html > (const diagnostic_location_print_policy &loc_policy, to_html &sink, expanded_location exploc) |
#define INCLUDE_MAP |
Diagnostic subroutines for printing source-code Copyright (C) 1999-2025 Free Software Foundation, Inc. Contributed by Gabriel Dos Reis <gdr@codesourcery.com> 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/>.
#define INCLUDE_STRING |
#define INCLUDE_VECTOR |
void default_diagnostic_start_span_fn< to_html > | ( | const diagnostic_location_print_policy & | loc_policy, |
to_html & | sink, | ||
expanded_location | exploc ) |
void default_diagnostic_start_span_fn< to_text > | ( | const diagnostic_location_print_policy & | loc_policy, |
to_text & | sink, | ||
expanded_location | exploc ) |
pretty_printer * get_printer | ( | to_text & | sink | ) |
Referenced by diagnostic_text_output_format::append_note(), diagnostic_text_output_format::build_prefix(), diagnostic_text_output_format::file_name_as_prefix(), diagnostic_text_output_format::on_diagram(), diagnostic_text_output_format::on_report_diagnostic(), json_output_format::on_report_diagnostic(), diagnostic_text_output_format::print_any_cwe(), diagnostic_text_output_format::print_any_rules(), diagnostic_text_output_format::print_option_information(), diagnostic_text_output_format::print_path(), diagnostic_text_output_format::report_current_module(), diagnostic_text_output_format::set_buffer(), and diagnostic_text_output_format::~diagnostic_text_output_format().