[NFC][Coroutines] Use structured binding with llvm::enumerate in CoroSplit (#116879)
[llvm-project.git] / lldb / bindings / interface / SBTypeEnumMemberDocstrings.i
blobf126f2a2af1626e85c4a2cf0b648e026844f7164
1 %feature(
2 "docstring",
3 "Represents a member of an enum in lldb."
4 ) lldb::SBTypeEnumMember;
6 %feature("docstring",
7 "Represents a list of SBTypeEnumMembers.
9 SBTypeEnumMemberList supports SBTypeEnumMember iteration.
10 It also supports [] access either by index, or by enum
11 element name by doing: ::
13 myType = target.FindFirstType('MyEnumWithElementA')
14 members = myType.GetEnumMembers()
15 first_elem = members[0]
16 elem_A = members['A']
18 ") lldb::SBTypeEnumMemberList;