GCC Middle and Back End API Reference
obstack_watermark Class Reference

#include <obstack-utils.h>

Public Member Functions

 obstack_watermark (obstack *ob)
 
constexpr obstack_watermark (obstack_watermark &&)=default
 
 ~obstack_watermark ()
 
 operator obstack * () const
 
void keep ()
 

Protected Attributes

obstackm_obstack
 
char * m_start
 

Private Member Functions

 DISABLE_COPY_AND_ASSIGN (obstack_watermark)
 

Constructor & Destructor Documentation

◆ obstack_watermark() [1/2]

obstack_watermark::obstack_watermark ( obstack * ob)
inline

References keep().

◆ obstack_watermark() [2/2]

obstack_watermark::obstack_watermark ( obstack_watermark && )
constexprdefault

◆ ~obstack_watermark()

obstack_watermark::~obstack_watermark ( )
inline

References m_obstack, and m_start.

Member Function Documentation

◆ DISABLE_COPY_AND_ASSIGN()

obstack_watermark::DISABLE_COPY_AND_ASSIGN ( obstack_watermark )
private

◆ keep()

void obstack_watermark::keep ( )
inline

References m_obstack, and m_start.

Referenced by obstack_watermark().

◆ operator obstack *()

obstack_watermark::operator obstack * ( ) const
inline

References m_obstack.

Field Documentation

◆ m_obstack

obstack* obstack_watermark::m_obstack
protected

◆ m_start

char* obstack_watermark::m_start
protected

Referenced by keep(), and ~obstack_watermark().


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