hanchenye-llvm-project/libcxx
Ed Schouten 2a80cab90e Make locale code compile on CloudABI.
After r241454 landed, libc++'s locale code compiles on CloudABI, with
the exception of the following two bits:

- CloudABI doesn't have setlocale(), as the C library does not keep
  track of any global state. The global locale is always set to "C".
  Disable the call to setlocale() on this system.
- Similarly, mbtowc_l() is also not present, as it is also not
  thread-safe. As CloudABI does not support state-dependent encodings,
  simply disable that part of the logic.

The locale code now compiles out of the box on CloudABI.

Differential Revision:	http://reviews.llvm.org/D10729
Reviewed by:	jroelofs

llvm-svn: 241455
2015-07-06 15:39:36 +00:00
..
cmake Fix building and testing libc++ with GCC. 2015-05-20 03:15:01 +00:00
include Cleanup: prefer _LIBCPP_GET_C_LOCALE over __cloc(). 2015-07-06 15:37:40 +00:00
lib [libcxx] Add code coverage configuration to CMake and LIT. 2015-03-31 04:15:45 +00:00
src Make locale code compile on CloudABI. 2015-07-06 15:39:36 +00:00
test Noticed that std::allocator<const T> was missing the definition for is_always_equal. Fixed this, and added a test for it. 2015-07-01 21:23:40 +00:00
utils cleanup comments in sym_check 2015-03-27 06:04:37 +00:00
www Mark N4508, LWG#2407, and LWG#2470 as complete. I don't see that 2470 requires any changes to the library. 2015-06-30 20:06:00 +00:00
.arcconfig Update Arcanist config to point to reviews.llvm.org 2014-06-10 18:29:36 +00:00
.gitignore [libc++] Refactor test components into modules. 2015-01-09 18:03:29 +00:00
CMakeLists.txt Make support for thread-unsafe C functions optional. 2015-06-24 08:44:38 +00:00
CREDITS.TXT Add self to CREDITS.txt 2015-02-26 00:48:22 +00:00
LICENSE.TXT Update copyright year to 2015. 2015-03-12 20:13:11 +00:00
Makefile Revert "Fix installheaders target's permissions" 2014-12-16 05:28:07 +00:00
TODO.TXT Cleanup result_of tests and fix issues with the C++03 result_of. 2015-06-13 08:25:24 +00:00