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.
Diff Detail
Diff Detail
Paths
| Differential D48781
[ms] Fix mangling of char16_t and char32_t to be compatible with MSVC. ClosedPublic Authored by thakis on Jun 29 2018, 10:49 AM.
Details
Diff Detail Event TimelineThis revision is now accepted and ready to land.Jul 2 2018, 5:09 AM
Revision Contents
Diff 153538 clang/lib/AST/MicrosoftMangle.cpp
clang/test/CodeGenCXX/mangle-ms-string-literals.cpp
|
was the change from Mangle to Write for the suffix intentional? Mangle seems more fitting.