CXTypeLayoutError

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

Type is of kind CXType_Invalid.

incomplete-2

The type is an incomplete Type.

dependent-3

The type is a dependent Type.

notConstantSize-4

The type is not a constant size type.

invalidFieldName-5

The Field name is not valid for this record.

undeduced-6

The type is undeduced.

Meta