[PATCH] [libcxx] std::codecvt - short wchar support

Oleg Ranevskyy llvm.mail.list at gmail.com
Mon Jun 1 04:23:06 PDT 2015


Changes locale.cpp to make the code look less messy.
Introduces the short_wchar feature to the libc++ tests, creates separate tests for short wchar.


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D8880

Files:
  src/locale.cpp
  test/CMakeLists.txt
  test/libcxx/test/config.py
  test/lit.site.cfg.in
  test/std/localization/locale.stdcvt/codecvt_utf16_in.pass.cpp
  test/std/localization/locale.stdcvt/codecvt_utf16_in_short_wchar.pass.cpp
  test/std/localization/locale.stdcvt/codecvt_utf16_length.pass.cpp
  test/std/localization/locale.stdcvt/codecvt_utf16_length_short_wchar.pass.cpp
  test/std/localization/locale.stdcvt/codecvt_utf16_out.pass.cpp
  test/std/localization/locale.stdcvt/codecvt_utf16_out_short_wchar.pass.cpp
  test/std/localization/locale.stdcvt/codecvt_utf8_in.pass.cpp
  test/std/localization/locale.stdcvt/codecvt_utf8_in_short_wchar.pass.cpp
  test/std/localization/locale.stdcvt/codecvt_utf8_length.pass.cpp
  test/std/localization/locale.stdcvt/codecvt_utf8_length_short_wchar.pass.cpp
  test/std/localization/locale.stdcvt/codecvt_utf8_out.pass.cpp
  test/std/localization/locale.stdcvt/codecvt_utf8_out_short_wchar.pass.cpp
  test/std/localization/locales/locale.convenience/conversions/conversions.string/converted.pass.cpp
  test/std/localization/locales/locale.convenience/conversions/conversions.string/converted_short_wchar.pass.cpp
  test/std/localization/locales/locale.convenience/conversions/conversions.string/from_bytes.pass.cpp
  test/std/localization/locales/locale.convenience/conversions/conversions.string/from_bytes_short_wchar.pass.cpp
  test/std/localization/locales/locale.convenience/conversions/conversions.string/to_bytes.pass.cpp
  test/std/localization/locales/locale.convenience/conversions/conversions.string/to_bytes_short_wchar.pass.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8880.26891.patch
Type: text/x-patch
Size: 668189 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150601/234d0fbf/attachment.bin>


More information about the llvm-commits mailing list