CXTypeLayoutError

\brief List the possible error codes for \c clang_Type_getSizeOf, \c clang_Type_getAlignOf, \c clang_Type_getOffsetOf and \c clang_Cursor_getOffsetOf.

A value of this enumeration type can be returned if the target type is not a valid argument to sizeof, alignof or offsetof.

Values

ValueMeaning
CXTypeLayoutError_Invalid-1

\brief Type is of kind CXType_Invalid.

CXTypeLayoutError_Incomplete-2

\brief The type is an incomplete Type.

CXTypeLayoutError_Dependent-3

\brief The type is a dependent Type.

CXTypeLayoutError_NotConstantSize-4

\brief The type is not a constant size type.

CXTypeLayoutError_InvalidFieldName-5

\brief The Field name is not valid for this record.

Meta