llvm-project/libcxx/include/support
Ben Craig 57b8b1f75f Reorganize locale extension fallbacks. NFCI
The various _l locale extension functions originate from very
different places.  Some come from POSIX, some are BSD extensions,
and some are shared BSD and GLIBC extensions. This patch tries to
group the local extension reimplementations by source. This should
make it easier to make libcxx work with POSIX compliant C libraries
that lack these extensions.

The fallback locale functions are also useful on their own for other
lightweight platforms. Putting these fallback implementations in
support/xlocale should enable code sharing.

I have no access to a newlib system or an android system to build
and test with. I _do_ have access to a system without any of the _l
locale extensions though, and I was able to ensure that the new
__posix_l_fallback.h and __strtonum_fallback.h didn't have any massive
problems.

http://reviews.llvm.org/D17416

llvm-svn: 270213
2016-05-20 12:58:41 +00:00
..
android Reorganize locale extension fallbacks. NFCI 2016-05-20 12:58:41 +00:00
ibm Split locale management out of ibm/xlocale.h. NFCI 2016-02-18 17:37:33 +00:00
musl Add initial support for the MUSL C library. 2015-11-09 10:21:04 +00:00
newlib Reorganize locale extension fallbacks. NFCI 2016-05-20 12:58:41 +00:00
solaris Get libc++ building on Sun Solaris. Patch from C Bergstrom. 2015-01-23 22:22:36 +00:00
win32 Split locale management out of locale_win32. NFCI 2016-03-09 15:49:59 +00:00
xlocale Reorganize locale extension fallbacks. NFCI 2016-05-20 12:58:41 +00:00