GCC Middle and Back End API Reference
ana::interesting_t Struct Reference

#include <pending-diagnostic.h>

Collaboration diagram for ana::interesting_t:

Public Member Functions

void add_region_creation (const region *reg)
void add_read_region (const region *reg, std::string debug_desc)
void dump_to_pp (pretty_printer *pp, bool simple) const

Data Fields

auto_vec< const region * > m_region_creation
std::vector< diagnostic_statem_read_regions

Detailed Description

A bundle of information about things that are of interest to a
pending_diagnostic:

* a set of regions that are pertinent to the
diagnostic, so that we can notify the user about when they
were created.

* a set of regions that a pertinent value for the diagnostic was
read from, so that we can notify the user about where those values
came from.   

Member Function Documentation

◆ add_read_region()

void ana::interesting_t::add_read_region ( const region * reg,
std::string debug_desc )

◆ add_region_creation()

void ana::interesting_t::add_region_creation ( const region * reg)

◆ dump_to_pp()

void ana::interesting_t::dump_to_pp ( pretty_printer * pp,
bool simple ) const

Field Documentation

◆ m_read_regions

std::vector<diagnostic_state> ana::interesting_t::m_read_regions

◆ m_region_creation

auto_vec<const region *> ana::interesting_t::m_region_creation

The documentation for this struct was generated from the following file: