This is all the stuff common to all SmallVectors.
Synopsis
Declared in <llvm/ADT/SmallVector.h>
template<class Size_T>
class SmallVectorBase;
Description
The template parameter specifies the type which should be used to hold the Size and Capacity of the SmallVector, so it can be adjusted. Using 32 bit size is desirable to shrink the size of the SmallVector. Using 64 bit size is desirable for cases like SmallVector<char>, where a 32 bit size would limit the vector to ~4GB. SmallVectors are used for buffering bitcode output ‐ which can exceed 4GB.
Member Functions
Protected Member Functions
Name |
Description |
|
Constructors |
Grow POD‐like storage to hold at least |
|
This is a helper for grow() that's out of line to reduce code duplication. This function will report a fatal error if it can't grow at least to |
|
Set the array data pointer to |
|
Set the array size to |
Protected Static Member Functions
Name |
Description |
The maximum value of the Size_T used. |
Protected Data Members
Derived Classes
Name |
Description |
Common SmallVector functionality independent of whether |
Created with MrDocs