class
SmallVectorBaseThis is all the non-templated stuff common to all SmallVectors.
Contents
Derived classes
-
template<typename T, typename = void>class SmallVectorTemplateCommon
-
template<typename T, typename = void>class SmallVectorTemplateCommon
Public functions
- auto size_in_bytes() const -> size_t
- This returns size()*sizeof(T).
- auto capacity_in_bytes() const -> size_t
- capacity_in_bytes - This returns capacity()*sizeof(T).
Protected functions
- void grow_pod(void* FirstEl, size_t MinSizeInBytes, size_t TSize)
Function documentation
void llvm::SmallVectorBase:: grow_pod(void* FirstEl,
size_t MinSizeInBytes,
size_t TSize) protected
This is an implementation of the grow() method which only works on POD-like data types and is out of line to reduce code duplication.
grow_pod - This is an implementation of the grow() method which only works on POD-like datatypes and is out of line to reduce code duplication.