GCC Middle and Back End API Reference
diagnostic-state-to-dot.cc File Reference
#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "diagnostic-state-graphs.h"
#include "graphviz.h"
#include "xml.h"
#include "xml-printer.h"
#include "intl.h"
Include dependency graph for diagnostic-state-to-dot.cc:

Data Structures

class  state_diagram
struct  state_diagram::pending_edge

Macros

#define INCLUDE_ALGORITHM
#define INCLUDE_MAP
#define INCLUDE_SET
#define INCLUDE_STRING
#define INCLUDE_VECTOR

Functions

static int get_depth (const diagnostics::digraphs::node &n)
static const char * get_color_for_dynalloc_state (enum node_dynalloc_state dynalloc_st)
static void set_color_for_dynalloc_state (dot::attr_list &attrs, enum node_dynalloc_state state)

Macro Definition Documentation

◆ INCLUDE_ALGORITHM

#define INCLUDE_ALGORITHM
Creating GraphViz .dot files from diagnostic state graphs. Copyright (C) 2025 Free Software Foundation, Inc. Contributed by David Malcolm <dmalcolm@redhat.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_MAP

#define INCLUDE_MAP

◆ INCLUDE_SET

#define INCLUDE_SET

◆ INCLUDE_STRING

#define INCLUDE_STRING

◆ INCLUDE_VECTOR

#define INCLUDE_VECTOR

Function Documentation

◆ get_color_for_dynalloc_state()

◆ get_depth()

int get_depth ( const diagnostics::digraphs::node & n)
static

References get_depth(), and i.

Referenced by get_depth(), and state_diagram::on_input_state_node().

◆ set_color_for_dynalloc_state()

void set_color_for_dynalloc_state ( dot::attr_list & attrs,
enum node_dynalloc_state state )
static