Attribute flags for class, struct, union, and enum type records (CV_CLASS_e).
Declared in <llvm/DebugInfo/CodeView/CodeView.h>
enum class ClassOptions : uint16_t;
| Name | Description |
|---|---|
None | No special class attributes. |
Packed | Struct/class uses 1-byte packing (#pragma pack(1)). |
HasConstructorOrDestructor | Type has a user-defined ctor or dtor. |
HasOverloadedOperator | Type has overloaded operators. |
Nested | Type is nested inside another type. |
ContainsNestedClass | Type contains nested class/struct/union types. |
HasOverloadedAssignmentOperator | Type overloads assignment. |
HasConversionOperator | Type has a conversion operator. |
ForwardReference | Record is a forward declaration. |
Scoped | Type is scoped (defined inside a function or other local scope). |
HasUniqueName | Type has a unique decorated name. |
Sealed | Type cannot be used as a base class. |
Intrinsic | Intrinsic / built-in type encoding. |
| Name | Description |
|---|---|
operator& | Bitwise AND combining ClassOptions flag bits. |
operator&= | In-place bitwise AND of ClassOptions flag bits. |
operator| | Bitwise OR combining ClassOptions flag bits. |
operator|= | In-place bitwise OR of ClassOptions flag bits. |
operator~ | Bitwise complement of ClassOptions flag bits. |