This is an archive of the discontinued LLVM Phabricator instance.

Add Python iterator & getitem for SBTypeEnumMemberList
ClosedPublic

Authored by jingham on Aug 13 2020, 5:49 PM.

Details

Summary

This class represents the members of an enum type, but wasn't terribly convenient to use because it only had the programmatic interface and no Python iterator. I added that, and also made access by element name work.

Diff Detail

Event Timeline

jingham created this revision.Aug 13 2020, 5:49 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 13 2020, 5:49 PM
jingham requested review of this revision.Aug 13 2020, 5:49 PM
JDevlieghere accepted this revision.Aug 13 2020, 7:17 PM
This revision is now accepted and ready to land.Aug 13 2020, 7:17 PM