GCC Middle and Back End API Reference
diagnostic-show-locus.cc File 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"
Include dependency graph for diagnostic-show-locus.cc:

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_printerget_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)

Macro Definition Documentation

◆ INCLUDE_MAP

#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/>.

◆ INCLUDE_STRING

#define INCLUDE_STRING

◆ INCLUDE_VECTOR

#define INCLUDE_VECTOR

Function Documentation

◆ default_diagnostic_start_span_fn< to_html >()

◆ default_diagnostic_start_span_fn< to_text >()

◆ get_printer()