clang: clang::ASTVector< T > Class Template Reference (original) (raw)
#include "[clang/AST/ASTVector.h](ASTVector%5F8h%5Fsource.html)"
Public Types | |
---|---|
using | size_type = size_t |
using | difference_type = ptrdiff_t |
using | value_type = T |
using | iterator = T * |
using | const_iterator = const T * |
using | const_reverse_iterator = std::reverse_iterator< const_iterator > |
using | reverse_iterator = std::reverse_iterator< iterator > |
using | reference = T & |
using | const_reference = const T & |
using | pointer = T * |
using | const_pointer = const T * |
Public Member Functions | |
---|---|
ASTVector () | |
ASTVector (ASTVector &&O) | |
ASTVector (const ASTContext &C, unsigned N) | |
ASTVector & | operator= (ASTVector &&RHS) |
~ASTVector () | |
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(). | |
const_pointer | data () const |
data - Return a pointer to the vector's buffer, even if empty(). | |
void | push_back (const_reference Elt, const ASTContext &C) |
void | reserve (const ASTContext &C, unsigned N) |
size_t | capacity () const |
capacity - Return the total number of elements in the currently allocated buffer. | |
template<typename in_iter > | |
void | append (const ASTContext &C, in_iter in_start, in_iter in_end) |
append - Add the specified range to the end of the SmallVector. | |
void | append (const ASTContext &C, size_type NumInputs, const T &Elt) |
append - Add the specified range to the end of the SmallVector. | |
iterator | insert (const ASTContext &C, iterator I, const T &Elt) |
iterator | insert (const ASTContext &C, iterator I, size_type NumToInsert, const T &Elt) |
template | |
iterator | insert (const ASTContext &C, iterator I, ItTy From, ItTy To) |
void | resize (const ASTContext &C, unsigned N, const T &NV) |
Static Public Member Functions | |
---|---|
template<typename It1 , typename It2 > | |
static void | uninitialized_copy (It1 I, It1 E, It2 Dest) |
uninitialized_copy - Copy the range [I, E) onto the uninitialized memory starting with "Dest", constructing elements into it as needed. | |
Protected Member Functions | |
---|---|
bool | getTag () const |
void | setTag (bool B) |
const_iterator | capacity_ptr () const |
iterator | capacity_ptr () |
template<typename T>
class clang::ASTVector< T >
Definition at line 36 of file ASTVector.h.
◆ const_iterator
◆ const_pointer
◆ const_reference
◆ const_reverse_iterator
◆ difference_type
◆ iterator
◆ pointer
◆ reverse_iterator
◆ size_type
◆ value_type
◆ ASTVector() [1/3]
◆ ASTVector() [2/3]
◆ ASTVector() [3/3]
◆ ~ASTVector()
◆ append() [1/2]
template<typename T >
template<typename in_iter >
◆ append() [2/2]
◆ back() [1/2]
◆ back() [2/2]
◆ begin() [1/2]
◆ begin() [2/2]
◆ capacity()
◆ capacity_ptr() [1/2]
◆ capacity_ptr() [2/2]
◆ clear()
◆ data() [1/2]
◆ data() [2/2]
◆ empty()
◆ end() [1/2]
◆ end() [2/2]
◆ front() [1/2]
◆ front() [2/2]
◆ getTag()
◆ insert() [1/3]
◆ insert() [2/3]
template<typename T >
template
◆ insert() [3/3]
◆ operator=()
◆ operator[]() [1/2]
◆ operator[]() [2/2]
◆ pop_back()
◆ pop_back_val()
◆ push_back()
◆ rbegin() [1/2]
◆ rbegin() [2/2]
◆ rend() [1/2]
◆ rend() [2/2]
◆ reserve()
◆ resize()
◆ setTag()
◆ size()
◆ uninitialized_copy()
template<typename T >
template<typename It1 , typename It2 >
static void clang::ASTVector< T >::uninitialized_copy ( It1 I, It1 E, It2 Dest ) | inlinestatic |
---|
uninitialized_copy - Copy the range [I, E) onto the uninitialized memory starting with "Dest", constructing elements into it as needed.
Definition at line 215 of file ASTVector.h.
References E.
Referenced by clang::ASTVector< T >::insert().
The documentation for this class was generated from the following file:
- include/clang/AST/ASTVector.h