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

#include <libgdiagnostics++.h>

Collaboration diagram for libgdiagnostics::logical_location:

Public Member Functions

 logical_location ()
 
 logical_location (const diagnostic_logical_location *logical_loc)
 
 operator bool ()
 
enum diagnostic_logical_location_kind_t get_kind () const
 
logical_location get_parent () const
 
const char * get_short_name () const
 
const char * get_fully_qualified_name () const
 
const char * get_decorated_name () const
 
bool operator== (const logical_location &other) const
 
bool operator!= (const logical_location &other) const
 

Data Fields

const diagnostic_logical_locationm_inner
 

Detailed Description

Wrapper around a const diagnostic_logical_location *.

Constructor & Destructor Documentation

◆ logical_location() [1/2]

libgdiagnostics::logical_location::logical_location ( )
inline

References m_inner.

Referenced by operator!=(), and operator==().

◆ logical_location() [2/2]

libgdiagnostics::logical_location::logical_location ( const diagnostic_logical_location * logical_loc)
inline

References m_inner.

Member Function Documentation

◆ get_decorated_name()

const char * libgdiagnostics::logical_location::get_decorated_name ( ) const
inline

◆ get_fully_qualified_name()

const char * libgdiagnostics::logical_location::get_fully_qualified_name ( ) const
inline

◆ get_kind()

enum diagnostic_logical_location_kind_t libgdiagnostics::logical_location::get_kind ( ) const
inline

◆ get_parent()

logical_location libgdiagnostics::logical_location::get_parent ( ) const
inline

◆ get_short_name()

const char * libgdiagnostics::logical_location::get_short_name ( ) const
inline

◆ operator bool()

libgdiagnostics::logical_location::operator bool ( )
inline

References m_inner.

◆ operator!=()

bool libgdiagnostics::logical_location::operator!= ( const logical_location & other) const
inline

References logical_location(), and m_inner.

◆ operator==()

bool libgdiagnostics::logical_location::operator== ( const logical_location & other) const
inline

References logical_location(), and m_inner.

Field Documentation

◆ m_inner


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