enum InitializedEntity::EntityKind
Description
Specifies the kind of entity being initialized.
Declared at: clang/include/clang/Sema/Initialization.h:50
Enumerators
Name | Value | Comment |
---|---|---|
EK_Variable | 0 | The entity being initialized is a variable. |
EK_Parameter | 1 | The entity being initialized is a function parameter. |
EK_TemplateParameter | 2 | The entity being initialized is a non-type template parameter. |
EK_Result | 3 | The entity being initialized is the result of a function call. |
EK_StmtExprResult | 4 | The entity being initialized is the result of a statement expression. |
EK_Exception | 5 | The entity being initialized is an exception object that is being thrown. |
EK_Member | 6 | The entity being initialized is a non-static data member subobject. |
EK_ArrayElement | 7 | The entity being initialized is an element of an array. |
EK_New | 8 | The entity being initialized is an object (or array of objects) allocated via new. |
EK_Temporary | 9 | The entity being initialized is a temporary object. |
EK_Base | 10 | The entity being initialized is a base member subobject. |
EK_Delegating | 11 | The initialization is being done by a delegating constructor. |
EK_VectorElement | 12 | The entity being initialized is an element of a vector. or vector. |
EK_BlockElement | 13 | The entity being initialized is a field of block descriptor for the copied-in c++ object. |
EK_LambdaToBlockConversionBlockElement | 14 | The entity being initialized is a field of block descriptor for the copied-in lambda object that's used in the lambda to block conversion. |
EK_ComplexElement | 15 | The entity being initialized is the real or imaginary part of a complex number. |
EK_LambdaCapture | 16 | The entity being initialized is the field that captures a variable in a lambda. |
EK_CompoundLiteralInit | 17 | The entity being initialized is the initializer for a compound literal. |
EK_RelatedResult | 18 | The entity being implicitly initialized back to the formal result type. |
EK_Parameter_CF_Audited | 19 | The entity being initialized is a function parameter; function is member of group of audited CF APIs. |
EK_Binding | 20 | The entity being initialized is a structured binding of a decomposition declaration. |