llvm::AlignOf< T > Struct Template Reference
#include <AlignOf.h>
List of all members.
Detailed Description
template<typename T>
struct llvm::AlignOf< T >
AlignOf - A templated class that contains an enum value representing the alignment of the template argument. For example,
AlignOf<int>::Alignment represents the alignment of type "int". The alignment calculated is the minimum alignment, and not necessarily the "desired" alignment returned by GCC's __alignof__ (for example). Note that because the alignment is an enum value, it can be used as a compile-time constant (e.g., for template instantiation).
Definition at line 36 of file AlignOf.h.
Member Enumeration Documentation
- Enumerator:
-
| Alignment_GreaterEqual_2Bytes |
|
Definition at line 40 of file AlignOf.h.
- Enumerator:
-
| Alignment_GreaterEqual_4Bytes |
|
Definition at line 41 of file AlignOf.h.
- Enumerator:
-
| Alignment_GreaterEqual_8Bytes |
|
Definition at line 42 of file AlignOf.h.
- Enumerator:
-
| Alignment_GreaterEqual_16Bytes |
|
Definition at line 43 of file AlignOf.h.
- Enumerator:
-
| Alignment_LessEqual_2Bytes |
|
Definition at line 45 of file AlignOf.h.
- Enumerator:
-
| Alignment_LessEqual_4Bytes |
|
Definition at line 46 of file AlignOf.h.
- Enumerator:
-
| Alignment_LessEqual_8Bytes |
|
Definition at line 47 of file AlignOf.h.
- Enumerator:
-
| Alignment_LessEqual_16Bytes |
|
Definition at line 48 of file AlignOf.h.
The documentation for this struct was generated from the following file: