History log of /external/libcxx/include/support/xlocale/__posix_l_fallback.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fd4a3f6cef96aba355779dc7e032cc4d2842977b 19-Sep-2016 Dan Albert <danalbert@google.com> Fix signatures of fallback tow(upper|lower)_l.

Summary:
These functions take and return wint_t, not int:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/towupper.html

Reviewers: mclow.lists, EricWF

Subscribers: cfe-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@281936 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/include/support/xlocale/__posix_l_fallback.h
fc1962da3749624eb1b66291c99258fcbad4ca98 20-May-2016 Ben Craig <ben.craig@codeaurora.org> 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


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@270213 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/include/support/xlocale/__posix_l_fallback.h