[Lldb-commits] [lldb] [lldb] Add value to enumerator dump (PR #69815)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 23 10:47:51 PDT 2023


https://github.com/clayborg requested changes to this pull request.

I am not sure about always showing the signed or unsigned value by default. Enum values by default get displayed as the string value if we can find it. If you want to see the value as signed or unsigned you can change the display format to decimal or unsigned. With this change, your value would appear to be `A(0)`, so if the user tried to edit this value, we don't want them typing `B(1)`, we just want them to type "B". 

I would be ok if we change the summary of an enum value to be the signed or unsigned value though. That might be a better option.

https://github.com/llvm/llvm-project/pull/69815


More information about the lldb-commits mailing list