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

NameValueComment
CXTypeLayoutError_Invalid-1Type is of kind CXType_Invalid.
CXTypeLayoutError_Incomplete-2The type is an incomplete Type.
CXTypeLayoutError_Dependent-3The type is a dependent Type.
CXTypeLayoutError_NotConstantSize-4The type is not a constant size type.
CXTypeLayoutError_InvalidFieldName-5The Field name is not valid for this record.
CXTypeLayoutError_Undeduced-6The type is undeduced.