GCC Middle and Back End API Reference
text-sink.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 "diagnostics/url.h"
#include "diagnostics/metadata.h"
#include "diagnostics/paths.h"
#include "diagnostics/client-data-hooks.h"
#include "diagnostics/diagram.h"
#include "diagnostics/text-sink.h"
#include "diagnostics/buffering.h"
#include "diagnostics/dumping.h"
#include "diagnostics/logging.h"
#include "text-art/theme.h"
Include dependency graph for text-sink.cc:

Data Structures

class  diagnostics::text_sink_buffer

Namespaces

namespace  diagnostics

Macros

#define INCLUDE_VECTOR

Functions

static unsigned diagnostics::get_bullet_point_unichar (bool unicode)
static bool diagnostics::use_unicode_p (const context &dc)
static unsigned diagnostics::get_bullet_point_unichar (context &dc)
void diagnostics::default_text_starter (diagnostics::text_sink &, const diagnostics::diagnostic_info *)
void diagnostics::default_text_finalizer (text_sink &text_output, const diagnostic_info *diagnostic, enum kind)

Macro Definition Documentation

◆ INCLUDE_VECTOR

#define INCLUDE_VECTOR
Classic text-based output of diagnostics.
   Copyright (C) 1999-2025 Free Software Foundation, Inc.

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