GCC Middle and Back End API Reference
source-printing.cc File Reference
#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "version.h"
#include "intl.h"
#include "diagnostic.h"
#include "diagnostics/color.h"
#include "gcc-rich-location.h"
#include "text-range-label.h"
#include "selftest.h"
#include "diagnostics/selftest-context.h"
#include "diagnostics/selftest-source-printing.h"
#include "cpplib.h"
#include "text-art/types.h"
#include "text-art/theme.h"
#include "diagnostics/source-printing-effects.h"
#include "diagnostics/file-cache.h"
#include "xml.h"
#include "xml-printer.h"
Include dependency graph for source-printing.cc:

Data Structures

struct  diagnostics::to_text
struct  diagnostics::to_text::auto_check_tag_nesting
struct  diagnostics::to_html
struct  diagnostics::to_html::auto_check_tag_nesting

Namespaces

namespace  diagnostics

Macros

#define INCLUDE_MAP
#define INCLUDE_STRING
#define INCLUDE_VECTOR

Functions

pretty_printerdiagnostics::get_printer (to_text &)
template<>
void diagnostics::default_start_span_fn< to_text > (const location_print_policy &loc_policy, to_text &out, expanded_location exploc)
template<>
void diagnostics::default_start_span_fn< to_html > (const location_print_policy &loc_policy, to_html &out, 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