Properly handle unsigned-by-default char types

PiperOrigin-RevId: 364774936
Change-Id: I2e411555d98cad128945949ea3eedb045af0421d
This commit is contained in:
Wiktor Garbacz 2021-03-24 04:47:52 -07:00 committed by Copybara-Service
parent 1be4d04f4e
commit bc9d7a8db6

View File

@ -82,7 +82,7 @@ def _stringify_tokens(tokens, separator='\n'):
TYPE_MAPPING = {
cindex.TypeKind.VOID: '::sapi::v::Void',
cindex.TypeKind.CHAR_S: '::sapi::v::Char',
cindex.TypeKind.CHAR_U: '::sapi::v::UChar',
cindex.TypeKind.CHAR_U: '::sapi::v::Char',
cindex.TypeKind.INT: '::sapi::v::Int',
cindex.TypeKind.UINT: '::sapi::v::UInt',
cindex.TypeKind.LONG: '::sapi::v::Long',