clang 8.0.0

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 >:
[legend]

## Public Types
using | iterator = T *
using | const_iterator = const T *
using | reverse_iterator = std::reverse_iterator< iterator >
using | const_reverse_iterator = std::reverse_iterator< const_iterator >

## Public Member Functions
| SimpleArray ()=default
| SimpleArray (T *Dat, size_t Cp, size_t Sz=0)
| SimpleArray (MemRegionRef A, size_t Cp)
| SimpleArray (const SimpleArray< T > &A)=delete
| SimpleArray (SimpleArray< T > &&A)
SimpleArray & | operator= (SimpleArray &&RHS)
void | reserve (size_t Ncp, MemRegionRef A)
void | reserveCheck (size_t N, MemRegionRef A)
size_t | size () const
size_t | capacity () const
T & | operator[] (unsigned i)
const T & | operator[] (unsigned i) const
T & | back ()
const T & | back () 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_iterator > | reverse ()
llvm::iterator_range< const_reverse_iterator > | reverse () const

## Detailed Description

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

Definition at line 85 of file ThreadSafetyUtil.h.

## Member Typedef Documentation

## ◆ const_iterator

template<class T>

using clang::threadSafety::til::SimpleArray< T >::const_iterator = const T *

Definition at line 132 of file ThreadSafetyUtil.h.

## ◆ const_reverse_iterator

template<class T>

using clang::threadSafety::til::SimpleArray< T >::const_reverse_iterator = std::reverse_iterator<const_iterator>

Definition at line 134 of file ThreadSafetyUtil.h.

## ◆ iterator

template<class T>

using clang::threadSafety::til::SimpleArray< T >::iterator = T *

Definition at line 131 of file ThreadSafetyUtil.h.

## ◆ reverse_iterator

template<class T>

using clang::threadSafety::til::SimpleArray< T >::reverse_iterator = std::reverse_iterator<iterator>

Definition at line 133 of file ThreadSafetyUtil.h.

## Constructor & Destructor Documentation

## ◆ SimpleArray() [1/5]

template<class T>

clang::threadSafety::til::SimpleArray< T >::SimpleArray | ( |  | ) |
| default

## ◆ SimpleArray() [2/5]

template<class T>

clang::threadSafety::til::SimpleArray< T >::SimpleArray | ( | T * | Dat,
|  | size_t | Cp,
|  | size_t | Sz = `0`
| ) |  |
| inline

Definition at line 88 of file ThreadSafetyUtil.h.

## ◆ SimpleArray() [3/5]

template<class T>

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

Definition at line 90 of file ThreadSafetyUtil.h.

## ◆ SimpleArray() [4/5]

template<class T>

clang::threadSafety::til::SimpleArray< T >::SimpleArray | ( | const SimpleArray< T > & | A | ) |
| delete

## ◆ SimpleArray() [5/5]

template<class T>

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

Definition at line 94 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 198 of file ThreadSafetyUtil.h.

## ◆ back() [1/2]

template<class T>

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

Definition at line 149 of file ThreadSafetyUtil.h.

## ◆ back() [2/2]

template<class T>

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

Definition at line 154 of file ThreadSafetyUtil.h.

## ◆ begin() [1/2]

template<class T>

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

Definition at line 159 of file ThreadSafetyUtil.h.

## ◆ begin() [2/2]

template<class T>

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

Definition at line 162 of file ThreadSafetyUtil.h.

## ◆ capacity()

template<class T>

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

Definition at line 137 of file ThreadSafetyUtil.h.

## ◆ cbegin()

template<class T>

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

Definition at line 165 of file ThreadSafetyUtil.h.

## ◆ cend()

template<class T>

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

Definition at line 166 of file ThreadSafetyUtil.h.

## ◆ drop()

template<class T>

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

Definition at line 185 of file ThreadSafetyUtil.h.

Referenced by clang::threadSafety::til::SCFG::computeNormalForm().

## ◆ end() [1/2]

template<class T>

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

Definition at line 160 of file ThreadSafetyUtil.h.

## ◆ end() [2/2]

template<class T>

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

Definition at line 163 of file ThreadSafetyUtil.h.

## ◆ operator=()

template<class T>

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

Definition at line 101 of file ThreadSafetyUtil.h.

## ◆ operator[]() [1/2]

template<class T>

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

Definition at line 139 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 144 of file ThreadSafetyUtil.h.

## ◆ push_back()

template<class T>

void clang::threadSafety::til::SimpleArray< T >::push_back | ( | const T & | Elem | ) |
| inline

Definition at line 179 of file ThreadSafetyUtil.h.

## ◆ rbegin() [1/2]

template<class T>

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

Definition at line 168 of file ThreadSafetyUtil.h.

## ◆ rbegin() [2/2]

template<class T>

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

Definition at line 171 of file ThreadSafetyUtil.h.

## ◆ rend() [1/2]

template<class T>

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

Definition at line 169 of file ThreadSafetyUtil.h.

## ◆ rend() [2/2]

template<class T>

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

Definition at line 175 of file ThreadSafetyUtil.h.

## ◆ reserve()

template<class T>

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

Definition at line 114 of file ThreadSafetyUtil.h.

## ◆ reserveCheck()

template<class T>

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

Definition at line 124 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 207 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 211 of file ThreadSafetyUtil.h.

## ◆ setValues()

template<class T>

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

Definition at line 190 of file ThreadSafetyUtil.h.

## ◆ size()

template<class T>

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

Definition at line 136 of file ThreadSafetyUtil.h.

Referenced by clang::threadSafety::til::SCFG::computeNormalForm(), and clang::threadSafety::til::simplifyIncompleteArg().

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

- include/clang/Analysis/Analyses/ThreadSafetyUtil.h