GCC Middle and Back End API Reference
dump_metadata_t Class Reference

#include <dumpfile.h>

Collaboration diagram for dump_metadata_t:

Public Member Functions

 dump_metadata_t (dump_flags_t dump_flags, const dump_impl_location_t &impl_location=dump_impl_location_t())
 
dump_flags_t get_dump_flags () const
 
const dump_impl_location_tget_impl_location () const
 

Private Attributes

dump_flags_t m_dump_flags
 
dump_impl_location_t m_impl_location
 

Detailed Description

A bundle of metadata for describing a dump message:
(a) the dump_flags
(b) the source location within the compiler/plugin.

The constructors use default parameters so that (b) gets sets up
automatically.

Hence you can pass in e.g. MSG_NOTE, and the dump call
will automatically record where in GCC's source code the
dump was emitted from.   

Constructor & Destructor Documentation

◆ dump_metadata_t()

dump_metadata_t::dump_metadata_t ( dump_flags_t dump_flags,
const dump_impl_location_t & impl_location = dump_impl_location_t () )
inline

Member Function Documentation

◆ get_dump_flags()

◆ get_impl_location()

const dump_impl_location_t & dump_metadata_t::get_impl_location ( ) const
inline

Field Documentation

◆ m_dump_flags

dump_flags_t dump_metadata_t::m_dump_flags
private

Referenced by get_dump_flags().

◆ m_impl_location

dump_impl_location_t dump_metadata_t::m_impl_location
private

Referenced by get_impl_location().


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