[PATCH] D40181: [libcxx] Allow to set locale on Windows.
Andrey Khalyavin via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 17 09:34:58 PST 2017
halyavin created this revision.
Fix the problem PR31516 <https://bugs.llvm.org/show_bug.cgi?id=31516> with setting locale on Windows by wrapping _locale_t with a pointer-like class.
Reduces 74 test failures in std/localization test suite to 47 test failures (on llvm clang, Visual Studio 2015). Number of test failures doesn't depend on the platform (x86 or x64).
https://reviews.llvm.org/D40181
Files:
include/__locale
include/support/win32/locale_win32.h
src/support/win32/locale_win32.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40181.123360.patch
Type: text/x-patch
Size: 5594 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171117/50ea0c19/attachment.bin>
More information about the cfe-commits
mailing list