GCC Middle and Back End API Reference
libgdiagnostics::execution_path Class Reference

#include <libgdiagnostics++.h>

Collaboration diagram for libgdiagnostics::execution_path:

Public Member Functions

 execution_path ()
 
 execution_path (diagnostic_execution_path *path)
 
 execution_path (const diagnostic_execution_path *path)
 
 execution_path (const execution_path &other)=delete
 
execution_pathoperator= (const execution_path &other)=delete
 
 execution_path (execution_path &&other)
 
execution_pathoperator= (execution_path &&other)
 
 ~execution_path ()
 
diagnostic_event_id add_event (physical_location physical_loc, logical_location logical_loc, unsigned stack_depth, const char *fmt,...) LIBGDIAGNOSTICS_PARAM_GCC_FORMAT_STRING(5
 
diagnostic_event_id diagnostic_event_id add_event_va (physical_location physical_loc, logical_location logical_loc, unsigned stack_depth, const char *fmt, va_list *args) LIBGDIAGNOSTICS_PARAM_GCC_FORMAT_STRING(5
 

Data Fields

diagnostic_event_id diagnostic_event_id diagnostic_execution_pathm_inner
 
bool m_owned
 

Detailed Description

RAII class around a diagnostic_execution_path *.   

Constructor & Destructor Documentation

◆ execution_path() [1/5]

libgdiagnostics::execution_path::execution_path ( )
inline

◆ execution_path() [2/5]

libgdiagnostics::execution_path::execution_path ( diagnostic_execution_path * path)
inline

References m_inner, m_owned, path, and true.

◆ execution_path() [3/5]

libgdiagnostics::execution_path::execution_path ( const diagnostic_execution_path * path)
inline

References false, m_inner, m_owned, and path.

◆ execution_path() [4/5]

libgdiagnostics::execution_path::execution_path ( const execution_path & other)
delete

References execution_path().

◆ execution_path() [5/5]

libgdiagnostics::execution_path::execution_path ( execution_path && other)
inline

References execution_path(), m_inner, and m_owned.

◆ ~execution_path()

libgdiagnostics::execution_path::~execution_path ( )
inline

Member Function Documentation

◆ add_event()

diagnostic_event_id libgdiagnostics::execution_path::add_event ( physical_location physical_loc,
logical_location logical_loc,
unsigned stack_depth,
const char * fmt,
... )
inline

References add_event(), and add_event_va().

Referenced by add_event().

◆ add_event_va()

diagnostic_event_id libgdiagnostics::execution_path::add_event_va ( physical_location physical_loc,
logical_location logical_loc,
unsigned stack_depth,
const char * fmt,
va_list * args )
inline

◆ operator=() [1/2]

execution_path & libgdiagnostics::execution_path::operator= ( const execution_path & other)
delete

References execution_path().

◆ operator=() [2/2]

execution_path & libgdiagnostics::execution_path::operator= ( execution_path && other)
inline

References execution_path(), m_inner, and m_owned.

Field Documentation

◆ m_inner

◆ m_owned

bool libgdiagnostics::execution_path::m_owned

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