Endilll wrote:

@DavidSpickett There is `SBValue:SetFormat()`, which takes `lldb::Format`. We 
can invent a new format, e.g. `eFormatEnumWithValue`. Not every enum flows 
through my formatter, as I'm actively improving emitted debug info so that LLDB 
does the right thing by default (`[[clang::preferred_type]]` is one example), 
reducing formatter boilerplate. So I'd prefer something global and possibly 
under user control, rather than doing it from formatter side. How does this 
sound to you?

https://github.com/llvm/llvm-project/pull/69815
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to