On 29 October 2014 21:45, Enrico Granata <[email protected]> wrote:
> Start adopting the StringPrinter API. The StringPrinter API is the new 
> blessed way of printing strings that supports escaping non-printables, and 
> has better handling of different UTF encodings

Hi Enrico,

It looks like after this change the hex character number is no longer
emitted when printing wchar_t, which made
TestCxxWCharT.CxxWCharTTestCase fail.

(lldb) expression L'a'
(wchar_t) $1 = 61 L'a'    # old
(wchar_t) $1 = L'a'       # new

The new behaviour seems preferable to me anyway, so unless there's
some reason we have to print it I'll update the test case to match
what happens now.

FWIW it seems GDB does print the character number, but in decimal.
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to