clang  6.0.0svn
Public Types | Public Member Functions | List of all members
clang::BumpVector< T > Class Template Reference

#include "clang/Analysis/Support/BumpVector.h"

Inheritance diagram for clang::BumpVector< T >:
Inheritance graph
[legend]

Public Types

typedef size_t size_type
 
typedef ptrdiff_t difference_type
 
typedef T value_type
 
typedef Titerator
 
typedef const Tconst_iterator
 
typedef std::reverse_iterator< const_iteratorconst_reverse_iterator
 
typedef std::reverse_iterator< iteratorreverse_iterator
 
typedef Treference
 
typedef const Tconst_reference
 
typedef Tpointer
 
typedef const Tconst_pointer
 

Public Member Functions

 BumpVector (BumpVectorContext &C, unsigned N)
 
 ~BumpVector ()
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
bool empty () const
 
size_type size () const
 
reference operator[] (unsigned idx)
 
const_reference operator[] (unsigned idx) const
 
reference front ()
 
const_reference front () const
 
reference back ()
 
const_reference back () const
 
void pop_back ()
 
T pop_back_val ()
 
void clear ()
 
pointer data ()
 data - Return a pointer to the vector's buffer, even if empty(). More...
 
const_pointer data () const
 data - Return a pointer to the vector's buffer, even if empty(). More...
 
void push_back (const_reference Elt, BumpVectorContext &C)
 
iterator insert (iterator I, size_t Cnt, const_reference E, BumpVectorContext &C)
 insert - Insert some number of copies of element into a position. More...
 
void reserve (BumpVectorContext &C, unsigned N)
 
size_t capacity () const
 capacity - Return the total number of elements in the currently allocated buffer. More...
 

Detailed Description

template<typename T>
class clang::BumpVector< T >

Definition at line 58 of file BumpVector.h.

Member Typedef Documentation

◆ const_iterator

template<typename T>
typedef const T* clang::BumpVector< T >::const_iterator

Definition at line 78 of file BumpVector.h.

◆ const_pointer

template<typename T>
typedef const T* clang::BumpVector< T >::const_pointer

Definition at line 86 of file BumpVector.h.

◆ const_reference

template<typename T>
typedef const T& clang::BumpVector< T >::const_reference

Definition at line 84 of file BumpVector.h.

◆ const_reverse_iterator

template<typename T>
typedef std::reverse_iterator<const_iterator> clang::BumpVector< T >::const_reverse_iterator

Definition at line 80 of file BumpVector.h.

◆ difference_type

template<typename T>
typedef ptrdiff_t clang::BumpVector< T >::difference_type

Definition at line 75 of file BumpVector.h.

◆ iterator

template<typename T>
typedef T* clang::BumpVector< T >::iterator

Definition at line 77 of file BumpVector.h.

◆ pointer

template<typename T>
typedef T* clang::BumpVector< T >::pointer

Definition at line 85 of file BumpVector.h.

◆ reference

template<typename T>
typedef T& clang::BumpVector< T >::reference

Definition at line 83 of file BumpVector.h.

◆ reverse_iterator

template<typename T>
typedef std::reverse_iterator<iterator> clang::BumpVector< T >::reverse_iterator

Definition at line 81 of file BumpVector.h.

◆ size_type

template<typename T>
typedef size_t clang::BumpVector< T >::size_type

Definition at line 74 of file BumpVector.h.

◆ value_type

template<typename T>
typedef T clang::BumpVector< T >::value_type

Definition at line 76 of file BumpVector.h.

Constructor & Destructor Documentation

◆ BumpVector()

template<typename T>
clang::BumpVector< T >::BumpVector ( BumpVectorContext C,
unsigned  N 
)
inlineexplicit

Definition at line 62 of file BumpVector.h.

◆ ~BumpVector()

template<typename T>
clang::BumpVector< T >::~BumpVector ( )
inline

Definition at line 67 of file BumpVector.h.

Member Function Documentation

◆ back() [1/2]

template<typename T>
reference clang::BumpVector< T >::back ( )
inline

Definition at line 119 of file BumpVector.h.

◆ back() [2/2]

template<typename T>
const_reference clang::BumpVector< T >::back ( ) const
inline

Definition at line 122 of file BumpVector.h.

◆ begin() [1/2]

template<typename T>
iterator clang::BumpVector< T >::begin ( )
inline

◆ begin() [2/2]

template<typename T>
const_iterator clang::BumpVector< T >::begin ( ) const
inline

Definition at line 90 of file BumpVector.h.

◆ capacity()

template<typename T>
size_t clang::BumpVector< T >::capacity ( ) const
inline

capacity - Return the total number of elements in the currently allocated buffer.

Definition at line 190 of file BumpVector.h.

◆ clear()

template<typename T>
void clang::BumpVector< T >::clear ( )
inline

Definition at line 137 of file BumpVector.h.

◆ data() [1/2]

template<typename T>
pointer clang::BumpVector< T >::data ( )
inline

data - Return a pointer to the vector's buffer, even if empty().

Definition at line 145 of file BumpVector.h.

◆ data() [2/2]

template<typename T>
const_pointer clang::BumpVector< T >::data ( ) const
inline

data - Return a pointer to the vector's buffer, even if empty().

Definition at line 150 of file BumpVector.h.

◆ empty()

template<typename T>
bool clang::BumpVector< T >::empty ( ) const
inline

Definition at line 100 of file BumpVector.h.

Referenced by clang::CFGBlock::pred_empty(), and clang::CFGBlock::succ_empty().

◆ end() [1/2]

template<typename T>
iterator clang::BumpVector< T >::end ( )
inline

◆ end() [2/2]

template<typename T>
const_iterator clang::BumpVector< T >::end ( ) const
inline

Definition at line 92 of file BumpVector.h.

◆ front() [1/2]

template<typename T>
reference clang::BumpVector< T >::front ( )
inline

Definition at line 112 of file BumpVector.h.

◆ front() [2/2]

template<typename T>
const_reference clang::BumpVector< T >::front ( ) const
inline

Definition at line 115 of file BumpVector.h.

◆ insert()

template<typename T>
iterator clang::BumpVector< T >::insert ( iterator  I,
size_t  Cnt,
const_reference  E,
BumpVectorContext C 
)
inline

insert - Insert some number of copies of element into a position.

Return iterator to position after last inserted copy.

Definition at line 167 of file BumpVector.h.

◆ operator[]() [1/2]

template<typename T>
reference clang::BumpVector< T >::operator[] ( unsigned  idx)
inline

Definition at line 103 of file BumpVector.h.

◆ operator[]() [2/2]

template<typename T>
const_reference clang::BumpVector< T >::operator[] ( unsigned  idx) const
inline

Definition at line 107 of file BumpVector.h.

◆ pop_back()

template<typename T>
void clang::BumpVector< T >::pop_back ( )
inline

Definition at line 126 of file BumpVector.h.

◆ pop_back_val()

template<typename T>
T clang::BumpVector< T >::pop_back_val ( )
inline

Definition at line 131 of file BumpVector.h.

◆ push_back()

template<typename T>
void clang::BumpVector< T >::push_back ( const_reference  Elt,
BumpVectorContext C 
)
inline

◆ rbegin() [1/2]

template<typename T>
reverse_iterator clang::BumpVector< T >::rbegin ( )
inline

Definition at line 95 of file BumpVector.h.

Referenced by clang::CFGBlock::pred_rbegin(), and clang::CFGBlock::succ_rbegin().

◆ rbegin() [2/2]

template<typename T>
const_reverse_iterator clang::BumpVector< T >::rbegin ( ) const
inline

Definition at line 96 of file BumpVector.h.

◆ rend() [1/2]

template<typename T>
reverse_iterator clang::BumpVector< T >::rend ( )
inline

Definition at line 97 of file BumpVector.h.

Referenced by clang::CFGBlock::pred_rend(), and clang::CFGBlock::succ_rend().

◆ rend() [2/2]

template<typename T>
const_reverse_iterator clang::BumpVector< T >::rend ( ) const
inline

Definition at line 98 of file BumpVector.h.

◆ reserve()

template<typename T>
void clang::BumpVector< T >::reserve ( BumpVectorContext C,
unsigned  N 
)
inline

Definition at line 183 of file BumpVector.h.

◆ size()

template<typename T>
size_type clang::BumpVector< T >::size ( ) const
inline

Definition at line 101 of file BumpVector.h.

Referenced by clang::CFGBlock::pred_size(), and clang::CFGBlock::succ_size().


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