[codeview] Dump char16_t and char32_t simple types

llvm-svn: 266465
This commit is contained in:
Reid Kleckner 2016-04-15 18:26:45 +00:00
parent 4396c4b8cf
commit 2dac2c60ff
2 changed files with 4 additions and 0 deletions

View File

@ -27,6 +27,8 @@ enum class SimpleTypeKind : uint32_t {
UnsignedCharacter = 0x0020, // 8 bit unsigned
NarrowCharacter = 0x0070, // really a char
WideCharacter = 0x0071, // wide char
Character16 = 0x007a, // char16_t
Character32 = 0x007b, // char32_t
SByte = 0x0068, // 8 bit signed int
Byte = 0x0069, // 8 bit unsigned int

View File

@ -654,6 +654,8 @@ static const EnumEntry<SimpleTypeKind> SimpleTypeNames[] = {
{"unsigned char*", SimpleTypeKind::UnsignedCharacter},
{"char*", SimpleTypeKind::NarrowCharacter},
{"wchar_t*", SimpleTypeKind::WideCharacter},
{"char16_t*", SimpleTypeKind::Character16},
{"char32_t*", SimpleTypeKind::Character32},
{"__int8*", SimpleTypeKind::SByte},
{"unsigned __int8*", SimpleTypeKind::Byte},
{"short*", SimpleTypeKind::Int16Short},