enum InitializedEntity::EntityKind

Description

Specifies the kind of entity being initialized.

Declared at: clang/include/clang/Sema/Initialization.h:50

Enumerators

NameValueComment
EK_Variable0The entity being initialized is a variable.
EK_Parameter1The entity being initialized is a function parameter.
EK_TemplateParameter2The entity being initialized is a non-type template parameter.
EK_Result3The entity being initialized is the result of a function call.
EK_StmtExprResult4The entity being initialized is the result of a statement expression.
EK_Exception5The entity being initialized is an exception object that is being thrown.
EK_Member6The entity being initialized is a non-static data member subobject.
EK_ArrayElement7The entity being initialized is an element of an array.
EK_New8The entity being initialized is an object (or array of objects) allocated via new.
EK_Temporary9The entity being initialized is a temporary object.
EK_Base10The entity being initialized is a base member subobject.
EK_Delegating11The initialization is being done by a delegating constructor.
EK_VectorElement12The entity being initialized is an element of a vector. or vector.
EK_BlockElement13The entity being initialized is a field of block descriptor for the copied-in c++ object.
EK_LambdaToBlockConversionBlockElement14The 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_ComplexElement15The entity being initialized is the real or imaginary part of a complex number.
EK_LambdaCapture16The entity being initialized is the field that captures a variable in a lambda.
EK_CompoundLiteralInit17The entity being initialized is the initializer for a compound literal.
EK_RelatedResult18The entity being implicitly initialized back to the formal result type.
EK_Parameter_CF_Audited19The entity being initialized is a function parameter; function is member of group of audited CF APIs.
EK_Binding20The entity being initialized is a structured binding of a decomposition declaration.