GCC Middle and Back End API Reference
auto_string_vec Class Reference

#include <vec.h>

Inheritance diagram for auto_string_vec:
Collaboration diagram for auto_string_vec:

Public Member Functions

 ~auto_string_vec ()
vec< char *, va_heapto_vec_legacy ()

Private Attributes

vec< char *, va_heap, vl_embedm_auto
unsigned char m_data [sizeof(char *) *N]

Detailed Description

A subclass of auto_vec <char *> that frees all of its elements on

Constructor & Destructor Documentation

◆ ~auto_string_vec()

auto_string_vec::~auto_string_vec ( )
auto_string_vec's dtor, freeing all contained strings, automatically
chaining up to ~auto_vec <char *>, which frees the internal buffer.   

References FOR_EACH_VEC_ELT, free(), and i.

Member Function Documentation

◆ to_vec_legacy()

vec< char *, va_heap > auto_vec< char *, N >::to_vec_legacy ( )

Field Documentation

◆ m_auto

vec<char *, va_heap, vl_embed> auto_vec< char *, N >::m_auto

◆ m_data

unsigned char auto_vec< char *, N >::m_data[sizeof(char *) *N]

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