GCC Middle and Back End API Reference
ana::evdesc::state_change Struct Reference

#include <pending-diagnostic.h>

Inheritance diagram for ana::evdesc::state_change:
Collaboration diagram for ana::evdesc::state_change:

Public Member Functions

 state_change (bool colorize, tree expr, tree origin, state_machine::state_t old_state, state_machine::state_t new_state, diagnostic_event_id_t event_id, const state_change_event &event)
 
bool is_global_p () const
 
label_text formatted_print (const char *fmt,...) const ATTRIBUTE_GCC_DIAG(2
 

Data Fields

tree m_expr
 
tree m_origin
 
state_machine::state_t m_old_state
 
state_machine::state_t m_new_state
 
diagnostic_event_id_t m_event_id
 
const state_change_eventm_event
 
label_text bool m_colorize
 

Detailed Description

For use by pending_diagnostic::describe_state_change.   

Constructor & Destructor Documentation

◆ state_change()

ana::evdesc::state_change::state_change ( bool colorize,
tree expr,
tree origin,
state_machine::state_t old_state,
state_machine::state_t new_state,
diagnostic_event_id_t event_id,
const state_change_event & event )
inline

Member Function Documentation

◆ formatted_print()

label_text ana::evdesc::event_desc::formatted_print ( const char * fmt,
... ) const
inherited

◆ is_global_p()

bool ana::evdesc::state_change::is_global_p ( ) const
inline

References NULL_TREE.

Field Documentation

◆ m_colorize

label_text bool ana::evdesc::event_desc::m_colorize
inherited

◆ m_event

const state_change_event& ana::evdesc::state_change::m_event

◆ m_event_id

diagnostic_event_id_t ana::evdesc::state_change::m_event_id

◆ m_expr

tree ana::evdesc::state_change::m_expr

◆ m_new_state

state_machine::state_t ana::evdesc::state_change::m_new_state

◆ m_old_state

state_machine::state_t ana::evdesc::state_change::m_old_state

◆ m_origin

tree ana::evdesc::state_change::m_origin

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