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
Name | Value | Comment |
---|---|---|
ISK_NoInit | 0 | If the pointer is null, there's nothing special. Otherwise, this is a bitfield and the pointer is the Expr* storing the bit-width. |
ISK_InClassCopyInit | 1 | The pointer is an (optional due to delayed parsing) Expr* holding the copy-initializer. |
ISK_InClassListInit | 2 | The pointer is an (optional due to delayed parsing) Expr* holding the list-initializer. |
ISK_CapturedVLAType | 3 | The pointer is a VariableArrayType* that's been captured; the enclosing context is a lambda or captured statement. |