Skip to content

Commit 42c5eb8

Browse files
committed
Add comment about NonZero printing as character literal.
1 parent 75fba9d commit 42c5eb8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/etc/lldb_providers.py

+2
Original file line numberDiff line numberDiff line change
@@ -746,6 +746,8 @@ def StdNonZeroNumberSummaryProvider(valobj, _dict):
746746
inner = valobj.GetChildAtIndex(0)
747747
inner_inner = inner.GetChildAtIndex(0)
748748

749+
# FIXME: Avoid printing as character literal,
750+
# see https://github.com/llvm/llvm-project/issues/65076.
749751
if inner_inner.GetTypeName() in ['char', 'unsigned char']:
750752
return str(inner_inner.GetValueAsSigned())
751753
else:

0 commit comments

Comments
 (0)