[lldb] Add missing UTF-8 char basic type entries

D120690 introduced `eBasicTypeChar8` but missed proper documentation order. This also introduces the missing bindings data on Swig, which should correspond with the documented information.

Reviewed By: labath

Differential Revision: https://reviews.llvm.org/D116136
This commit is contained in:
Luís Ferreira 2022-06-13 17:32:57 +00:00
parent 2496938522
commit 6d5b86f851
2 changed files with 2 additions and 1 deletions

View File

@ -565,6 +565,7 @@ def is_numeric_type(basic_type):
if basic_type == eBasicTypeUnsignedWChar: return (True,False) if basic_type == eBasicTypeUnsignedWChar: return (True,False)
if basic_type == eBasicTypeChar16: return (True,False) if basic_type == eBasicTypeChar16: return (True,False)
if basic_type == eBasicTypeChar32: return (True,False) if basic_type == eBasicTypeChar32: return (True,False)
if basic_type == eBasicTypeChar8: return (True,False)
if basic_type == eBasicTypeShort: return (True,True) if basic_type == eBasicTypeShort: return (True,True)
if basic_type == eBasicTypeUnsignedShort: return (True,False) if basic_type == eBasicTypeUnsignedShort: return (True,False)
if basic_type == eBasicTypeInt: return (True,True) if basic_type == eBasicTypeInt: return (True,True)

View File

@ -1017,9 +1017,9 @@ BasicType
.. py:data:: eBasicTypeWChar .. py:data:: eBasicTypeWChar
.. py:data:: eBasicTypeSignedWChar .. py:data:: eBasicTypeSignedWChar
.. py:data:: eBasicTypeUnsignedWChar .. py:data:: eBasicTypeUnsignedWChar
.. py:data:: eBasicTypeChar8
.. py:data:: eBasicTypeChar16 .. py:data:: eBasicTypeChar16
.. py:data:: eBasicTypeChar32 .. py:data:: eBasicTypeChar32
.. py:data:: eBasicTypeChar8
.. py:data:: eBasicTypeShort .. py:data:: eBasicTypeShort
.. py:data:: eBasicTypeUnsignedShort .. py:data:: eBasicTypeUnsignedShort
.. py:data:: eBasicTypeInt .. py:data:: eBasicTypeInt