[lldb-dev] Enumerating the members of an enum

Enrico Granata egranata at apple.com
Mon Oct 7 10:45:19 PDT 2013


As far as I can tell/remember, this is missing API

Technically, it would not be an SBTypeList since the entries in an enumerator are *NOT* types.

We would probably have to come up with a new class like an SBEnumeratorEntry (I am sure better names are possible :-) that wraps the notion of a (numeric_value,string_name) pair

Enrico Granata
📩 egranata@.com
☎️ 27683

On Oct 7, 2013, at 12:23 AM, Russell Harmon <russ at eatnumber1.com> wrote:

> Is there a way to enumerate the fields of an enum (e.x. get an SBTypeList from an enum), or is that missing API?
> 
> Thanks
> Russell Harmon
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20131007/0d4df311/attachment.html>


More information about the lldb-dev mailing list