GCC Middle and Back End API Reference
text_range_label Class Reference

#include <gcc-rich-location.h>

Inheritance diagram for text_range_label:
Collaboration diagram for text_range_label:

Public Member Functions

 text_range_label (const char *text)
label_text get_text (unsigned) const final override

Private Attributes

const char * m_text

Detailed Description

Concrete subclass of libcpp's range_label.
Simple implementation using a string literal.   

Constructor & Destructor Documentation

◆ text_range_label()

text_range_label::text_range_label ( const char * text)

Member Function Documentation

◆ get_text()

label_text text_range_label::get_text ( unsigned ) const

References m_text.

Field Documentation

◆ m_text

const char* text_range_label::m_text

Referenced by get_text().

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