enum CXTypeLayoutError
Description
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.
Declared at: clang/include/clang-c/Index.h:3975
Enumerators
Name | Value | Comment |
---|---|---|
CXTypeLayoutError_Invalid | -1 | Type is of kind CXType_Invalid. |
CXTypeLayoutError_Incomplete | -2 | The type is an incomplete Type. |
CXTypeLayoutError_Dependent | -3 | The type is a dependent Type. |
CXTypeLayoutError_NotConstantSize | -4 | The type is not a constant size type. |
CXTypeLayoutError_InvalidFieldName | -5 | The Field name is not valid for this record. |
CXTypeLayoutError_Undeduced | -6 | The type is undeduced. |