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
invalid-1

\brief Type is of kind CXType_Invalid.

incomplete-2

\brief The type is an incomplete Type.

dependent-3

\brief The type is a dependent Type.

notConstantSize-4

\brief The type is not a constant size type.

invalidFieldName-5

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

Meta