llvm-project/libcxx
Martin Storsjo 771edc7949 Allow to set locale on Windows.
Fix the problem PR31516 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).

Patch by Andrey Khalyavin.

Differential Revision: https://reviews.llvm.org/D40181

llvm-svn: 318902
2017-11-23 10:38:18 +00:00
..
benchmarks [locale] Avoid copy of __atoms when char_type is char 2017-06-14 23:17:45 +00:00
cmake Make libcxx tests work when llvm sources are not present. 2017-09-20 16:01:50 +00:00
docs Teach test suite about C++2a dialect flag. 2017-11-07 20:26:23 +00:00
fuzzing Added include for <cassert> 2017-11-08 20:25:47 +00:00
include Allow to set locale on Windows. 2017-11-23 10:38:18 +00:00
lib Update changelog revision 2017-09-17 21:00:27 +00:00
src Allow to set locale on Windows. 2017-11-23 10:38:18 +00:00
test Add additional 'UNSUPPORTED' to the test case. 2017-11-23 05:43:25 +00:00
utils Attempt to fix template depth test failures on older Clang versions 2017-11-19 09:46:34 +00:00
www Implement p0137r1 - std::launder. Reviewed as https://reviews.llvm.org/D40144 2017-11-22 19:49:03 +00:00
.arcconfig Upgrade arcconfig to use https 2016-07-18 02:02:49 +00:00
.clang-format Make clang-format use C++03 syntax 2017-04-15 02:45:43 +00:00
.gitignore Implement N4606 optional 2016-10-12 07:46:20 +00:00
CMakeLists.txt [libc++] Support Microsoft ABI without vcruntime headers 2017-10-09 19:25:17 +00:00
CREDITS.TXT Updated email address in `CREDITS.txt`. 2017-03-06 20:46:55 +00:00
LICENSE.TXT Update year to 2017 2017-01-03 11:20:43 +00:00
NOTES.TXT Update doc and various cleanup 2016-12-23 20:00:13 +00:00
TODO.TXT Add list of filesystem NB comments to TODO.TXT so they can be tracked separately 2017-03-06 21:23:36 +00:00
appveyor-reqs-install.cmd Update Appveyor LLVM install link to be current and non-broken 2017-11-15 01:37:11 +00:00
appveyor.yml Rename Appveyor install helper script. 2017-05-10 02:43:02 +00:00