[ms] Fix mangling of char16_t and char32_t to be compatible with MSVC.
authorNico Weber <nicolasweber@gmx.de>
Mon, 2 Jul 2018 12:31:20 +0000 (12:31 +0000)
committerNico Weber <nicolasweber@gmx.de>
Mon, 2 Jul 2018 12:31:20 +0000 (12:31 +0000)
commita2d9c2be3f8051b795efc4d544c231840181d812
tree59ee887679804d62b621ce5ad342f9a785df0db3
parentd980084597752dfcc06157092fe071f566b4cb48
[ms] Fix mangling of char16_t and char32_t to be compatible with MSVC.

MSVC limits char16_t and char32_t string literal names to 32 bytes of character
data, not to 32 characters. wchar_t string literal names on the other hand can
get up to 64 bytes of character data.

https://reviews.llvm.org/D48781

llvm-svn: 336097
clang/lib/AST/MicrosoftMangle.cpp
clang/test/CodeGenCXX/mangle-ms-string-literals.cpp