llvm-project/libcxx
Ben Craig d2f15ba3a1 Reorganize _LIBCPP_LOCALE__L_EXTENSIONS
Instead of checking _LIBCPP_LOCALE_L_EXTENSIONS all over, instead check it
once, and define the various *_l symbols once. The private redirector symbol
names are all prefixed with _libcpp_* so that they won't conflict with user
symbols, and so they won't conflict with future C library symbols. In
particular, glibc likes providing private symbols such as __locale_t, so we
should follow a different naming pattern (like _libcpp_*) to avoid problems
on that front.

Tested on Linux with glibc. Hoping for the best on OSX and the various BSDs.

http://reviews.llvm.org/D17456

llvm-svn: 263016
2016-03-09 15:39:39 +00:00
..
cmake Fix PR26622 - Make CheckLibcxxAtomic.cmake use the libc++ headers. 2016-02-20 00:24:43 +00:00
docs [docs] Remove references to autoconf build. 2016-01-30 01:11:42 +00:00
include Reorganize _LIBCPP_LOCALE__L_EXTENSIONS 2016-03-09 15:39:39 +00:00
lib Re-commit "Introduce a cmake module to figure out whether we need to link with libatomic." 2016-02-11 12:43:04 +00:00
src Reorganize _LIBCPP_LOCALE__L_EXTENSIONS 2016-03-09 15:39:39 +00:00
test Remove a couple tabs that crept in 2016-03-08 15:45:06 +00:00
utils Add more missing license headers 2016-01-19 21:58:49 +00:00
www Implement P0272R1: Give 'std::string' a non-const '.data()' member function 2016-03-08 15:44:30 +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 libc++: fix typo 2016-03-05 14:22:02 +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
TODO.TXT Test commit to see if libcxx.llvm.org/docs builds 2015-09-04 22:57:00 +00:00