[all-commits] [llvm/llvm-project] f53faf: [libc++] Add missing short wchar handling for code...
xingxue-ibm via All-commits
all-commits at lists.llvm.org
Thu Sep 9 13:21:25 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f53fafbacbc22bacd38fd1bdd52359156e6bfcba
https://github.com/llvm/llvm-project/commit/f53fafbacbc22bacd38fd1bdd52359156e6bfcba
Author: Xing Xue <xingxue at outlook.com>
Date: 2021-09-09 (Thu, 09 Sep 2021)
Changed paths:
M libcxx/include/__config
M libcxx/src/locale.cpp
M libcxx/test/libcxx/localization/locales/locale.convenience/conversions/conversions.string/ctor_move.pass.cpp
M libcxx/test/std/localization/locale.stdcvt/codecvt_utf16_length.pass.cpp
M libcxx/test/std/localization/locale.stdcvt/codecvt_utf16_max_length.pass.cpp
M libcxx/test/std/localization/locale.stdcvt/codecvt_utf8_length.pass.cpp
M libcxx/test/std/localization/locale.stdcvt/codecvt_utf8_max_length.pass.cpp
Log Message:
-----------
[libc++] Add missing short wchar handling for codecvt_utf8, codecvt_utf16 and codecvt_utf8_utf16
Summary:
AIX have 2 byte wchar in 32 bit mode and 4 byte wchar in 64 bit mode.
This patch add more missing short wchar handling under the existing _LIBCPP_SHORT_WCHAR macro.
Marked test case ctor_move.pass.cpp as XFAIL for 32-bit mode on AIX because UTF-8 constants used cannot be converted to 2-byte wchar (by xingxue).
Authored by: jasonliu
Reviewed by: ldionne, zibi, SeanP, libc++
Differential Revision: https://reviews.llvm.org/D100777
More information about the All-commits
mailing list