ΒΆlong long clang_Type_getAlignOf(CXType T)
long long clang_Type_getAlignOf(CXType T)
Description
Return the alignment of a type in bytes as per C++[expr.alignof] standard. If the type declaration is invalid, CXTypeLayoutError_Invalid is returned. If the type declaration is an incomplete type, CXTypeLayoutError_Incomplete is returned. If the type declaration is a dependent type, CXTypeLayoutError_Dependent is returned. If the type declaration is not a constant size type, CXTypeLayoutError_NotConstantSize is returned.
Declared at: clang/include/clang-c/Index.h:4014
Parameters
- CXType T