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

#include "clang/Analysis/Analyses/ThreadSafetyUtil.h"

Inheritance diagram for clang::threadSafety::til::SimpleArray< T >:
Inheritance graph
[legend]

Public Types

typedef Titerator
 
typedef const Tconst_iterator
 
typedef std::reverse_iterator< iteratorreverse_iterator
 
typedef std::reverse_iterator< const_iteratorconst_reverse_iterator
 

Public Member Functions

 SimpleArray ()
 
 SimpleArray (T *Dat, size_t Cp, size_t Sz=0)
 
 SimpleArray (MemRegionRef A, size_t Cp)
 
 SimpleArray (SimpleArray< T > &&A)
 
SimpleArrayoperator= (SimpleArray &&RHS)
 
void reserve (size_t Ncp, MemRegionRef A)
 
void reserveCheck (size_t N, MemRegionRef A)
 
size_t size () const
 
size_t capacity () const
 
Toperator[] (unsigned i)
 
const Toperator[] (unsigned i) const
 
Tback ()
 
const Tback () const
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
reverse_iterator rbegin ()
 
reverse_iterator rend ()
 
const_reverse_iterator rbegin () const
 
const_reverse_iterator rend () const
 
void push_back (const T &Elem)
 
void drop (unsigned n=0)
 
void setValues (unsigned Sz, const T &C)
 
template<class Iter >
unsigned append (Iter I, Iter E)
 
llvm::iterator_range< reverse_iteratorreverse ()
 
llvm::iterator_range< const_reverse_iteratorreverse () const
 

Detailed Description

template<class T>
class clang::threadSafety::til::SimpleArray< T >

Definition at line 82 of file ThreadSafetyUtil.h.

Member Typedef Documentation

◆ const_iterator

template<class T>
typedef const T* clang::threadSafety::til::SimpleArray< T >::const_iterator

Definition at line 127 of file ThreadSafetyUtil.h.

◆ const_reverse_iterator

template<class T>
typedef std::reverse_iterator<const_iterator> clang::threadSafety::til::SimpleArray< T >::const_reverse_iterator

Definition at line 129 of file ThreadSafetyUtil.h.

◆ iterator

template<class T>
typedef T* clang::threadSafety::til::SimpleArray< T >::iterator

Definition at line 126 of file ThreadSafetyUtil.h.

◆ reverse_iterator

template<class T>
typedef std::reverse_iterator<iterator> clang::threadSafety::til::SimpleArray< T >::reverse_iterator

Definition at line 128 of file ThreadSafetyUtil.h.

Constructor & Destructor Documentation

◆ SimpleArray() [1/4]

template<class T>
clang::threadSafety::til::SimpleArray< T >::SimpleArray ( )
inline

Definition at line 84 of file ThreadSafetyUtil.h.

◆ SimpleArray() [2/4]

template<class T>
clang::threadSafety::til::SimpleArray< T >::SimpleArray ( T Dat,
size_t  Cp,
size_t  Sz = 0 
)
inline

Definition at line 85 of file ThreadSafetyUtil.h.

◆ SimpleArray() [3/4]

template<class T>
clang::threadSafety::til::SimpleArray< T >::SimpleArray ( MemRegionRef  A,
size_t  Cp 
)
inline

Definition at line 87 of file ThreadSafetyUtil.h.

◆ SimpleArray() [4/4]

template<class T>
clang::threadSafety::til::SimpleArray< T >::SimpleArray ( SimpleArray< T > &&  A)
inline

Definition at line 89 of file ThreadSafetyUtil.h.

Member Function Documentation

◆ append()

template<class T>
template<class Iter >
unsigned clang::threadSafety::til::SimpleArray< T >::append ( Iter  I,
Iter  E 
)
inline

Definition at line 189 of file ThreadSafetyUtil.h.

◆ back() [1/2]

template<class T>
T& clang::threadSafety::til::SimpleArray< T >::back ( )
inline

Definition at line 142 of file ThreadSafetyUtil.h.

◆ back() [2/2]

template<class T>
const T& clang::threadSafety::til::SimpleArray< T >::back ( ) const
inline

Definition at line 146 of file ThreadSafetyUtil.h.

◆ begin() [1/2]

template<class T>
iterator clang::threadSafety::til::SimpleArray< T >::begin ( )
inline

Definition at line 151 of file ThreadSafetyUtil.h.

◆ begin() [2/2]

template<class T>
const_iterator clang::threadSafety::til::SimpleArray< T >::begin ( ) const
inline

Definition at line 154 of file ThreadSafetyUtil.h.

◆ capacity()

template<class T>
size_t clang::threadSafety::til::SimpleArray< T >::capacity ( ) const
inline

Definition at line 132 of file ThreadSafetyUtil.h.

◆ cbegin()

template<class T>
const_iterator clang::threadSafety::til::SimpleArray< T >::cbegin ( ) const
inline

Definition at line 157 of file ThreadSafetyUtil.h.

◆ cend()

template<class T>
const_iterator clang::threadSafety::til::SimpleArray< T >::cend ( ) const
inline

Definition at line 158 of file ThreadSafetyUtil.h.

◆ drop()

template<class T>
void clang::threadSafety::til::SimpleArray< T >::drop ( unsigned  n = 0)
inline

Definition at line 176 of file ThreadSafetyUtil.h.

◆ end() [1/2]

template<class T>
iterator clang::threadSafety::til::SimpleArray< T >::end ( )
inline

Definition at line 152 of file ThreadSafetyUtil.h.

◆ end() [2/2]

template<class T>
const_iterator clang::threadSafety::til::SimpleArray< T >::end ( ) const
inline

Definition at line 155 of file ThreadSafetyUtil.h.

◆ operator=()

template<class T>
SimpleArray& clang::threadSafety::til::SimpleArray< T >::operator= ( SimpleArray< T > &&  RHS)
inline

Definition at line 96 of file ThreadSafetyUtil.h.

◆ operator[]() [1/2]

template<class T>
T& clang::threadSafety::til::SimpleArray< T >::operator[] ( unsigned  i)
inline

Definition at line 134 of file ThreadSafetyUtil.h.

◆ operator[]() [2/2]

template<class T>
const T& clang::threadSafety::til::SimpleArray< T >::operator[] ( unsigned  i) const
inline

Definition at line 138 of file ThreadSafetyUtil.h.

◆ push_back()

template<class T>
void clang::threadSafety::til::SimpleArray< T >::push_back ( const T Elem)
inline

Definition at line 170 of file ThreadSafetyUtil.h.

◆ rbegin() [1/2]

template<class T>
reverse_iterator clang::threadSafety::til::SimpleArray< T >::rbegin ( )
inline

Definition at line 160 of file ThreadSafetyUtil.h.

◆ rbegin() [2/2]

template<class T>
const_reverse_iterator clang::threadSafety::til::SimpleArray< T >::rbegin ( ) const
inline

Definition at line 163 of file ThreadSafetyUtil.h.

◆ rend() [1/2]

template<class T>
reverse_iterator clang::threadSafety::til::SimpleArray< T >::rend ( )
inline

Definition at line 161 of file ThreadSafetyUtil.h.

◆ rend() [2/2]

template<class T>
const_reverse_iterator clang::threadSafety::til::SimpleArray< T >::rend ( ) const
inline

Definition at line 166 of file ThreadSafetyUtil.h.

◆ reserve()

template<class T>
void clang::threadSafety::til::SimpleArray< T >::reserve ( size_t  Ncp,
MemRegionRef  A 
)
inline

Definition at line 109 of file ThreadSafetyUtil.h.

◆ reserveCheck()

template<class T>
void clang::threadSafety::til::SimpleArray< T >::reserveCheck ( size_t  N,
MemRegionRef  A 
)
inline

Definition at line 119 of file ThreadSafetyUtil.h.

◆ reverse() [1/2]

template<class T>
llvm::iterator_range<reverse_iterator> clang::threadSafety::til::SimpleArray< T >::reverse ( )
inline

Definition at line 198 of file ThreadSafetyUtil.h.

◆ reverse() [2/2]

template<class T>
llvm::iterator_range<const_reverse_iterator> clang::threadSafety::til::SimpleArray< T >::reverse ( ) const
inline

Definition at line 201 of file ThreadSafetyUtil.h.

◆ setValues()

template<class T>
void clang::threadSafety::til::SimpleArray< T >::setValues ( unsigned  Sz,
const T C 
)
inline

Definition at line 181 of file ThreadSafetyUtil.h.

◆ size()

template<class T>
size_t clang::threadSafety::til::SimpleArray< T >::size ( ) const
inline

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