enum FieldDecl::InitStorageKind

Description

The kinds of value we can store in InitializerOrBitWidth. Note that this is compatible with InClassInitStyle except for ISK_CapturedVLAType.

Declared at: clang/include/clang/AST/Decl.h:2882

Enumerators

NameValueComment
ISK_NoInit0If the pointer is null, there's nothing special. Otherwise, this is a bitfield and the pointer is the Expr* storing the bit-width.
ISK_InClassCopyInit1The pointer is an (optional due to delayed parsing) Expr* holding the copy-initializer.
ISK_InClassListInit2The pointer is an (optional due to delayed parsing) Expr* holding the list-initializer.
ISK_CapturedVLAType3The pointer is a VariableArrayType* that's been captured; the enclosing context is a lambda or captured statement.