LLVM 22.0.0git
llvm::SmallVectorStorage< T, 0 > Struct Template Reference

We need the storage to be properly aligned even for small-size of 0 so that the pointer math in SmallVectorTemplateCommon::getFirstEl() is well-defined. More...

#include "llvm/ADT/SmallVector.h"

Inheritance diagram for llvm::SmallVectorStorage< T, 0 >:
[legend]

Public Attributes

char InlineElts [N *sizeof(T)]

Detailed Description

template<typename T>
struct llvm::SmallVectorStorage< T, 0 >

We need the storage to be properly aligned even for small-size of 0 so that the pointer math in SmallVectorTemplateCommon::getFirstEl() is well-defined.

Definition at line 1120 of file SmallVector.h.

Member Data Documentation

◆ InlineElts

char llvm::SmallVectorStorage< T, N >::InlineElts[N *sizeof(T)]

Definition at line 1114 of file SmallVector.h.


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