Add comment about NonZero
printing as character literal.
This commit is contained in:
parent
75fba9d574
commit
42c5eb8845
@ -746,6 +746,8 @@ def StdNonZeroNumberSummaryProvider(valobj, _dict):
|
|||||||
inner = valobj.GetChildAtIndex(0)
|
inner = valobj.GetChildAtIndex(0)
|
||||||
inner_inner = inner.GetChildAtIndex(0)
|
inner_inner = inner.GetChildAtIndex(0)
|
||||||
|
|
||||||
|
# FIXME: Avoid printing as character literal,
|
||||||
|
# see https://github.com/llvm/llvm-project/issues/65076.
|
||||||
if inner_inner.GetTypeName() in ['char', 'unsigned char']:
|
if inner_inner.GetTypeName() in ['char', 'unsigned char']:
|
||||||
return str(inner_inner.GetValueAsSigned())
|
return str(inner_inner.GetValueAsSigned())
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user