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

#include <diagnostic-manager.h>

Collaboration diagram for ana::pending_location:

Data Structures

class  fixer_for_epath

Public Member Functions

 pending_location ()
 pending_location (exploded_node *enode)
 pending_location (exploded_node *enode, location_t loc)
location_t get_location () const
std::unique_ptr< json::objectto_json () const

Data Fields

exploded_nodem_enode
event_loc_info m_event_loc_info
std::unique_ptr< fixer_for_epathm_fixer_for_epath

Detailed Description

A bundle of information capturing where a pending_diagnostic should
be emitted.   

Constructor & Destructor Documentation

◆ pending_location() [1/3]

ana::pending_location::pending_location ( )

◆ pending_location() [2/3]

ana::pending_location::pending_location ( exploded_node * enode)

◆ pending_location() [3/3]

ana::pending_location::pending_location ( exploded_node * enode,
location_t loc )

Member Function Documentation

◆ get_location()

location_t ana::pending_location::get_location ( ) const
inline

◆ to_json()

std::unique_ptr< json::object > ana::pending_location::to_json ( ) const

Field Documentation

◆ m_enode

exploded_node* ana::pending_location::m_enode

◆ m_event_loc_info

event_loc_info ana::pending_location::m_event_loc_info

Referenced by get_location().

◆ m_fixer_for_epath

std::unique_ptr<fixer_for_epath> ana::pending_location::m_fixer_for_epath

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