summaryrefslogtreecommitdiffstats
path: root/libcxx/include/__locale
Commit message (Collapse)AuthorAgeFilesLines
...
* Removed raw references to _WIN32; now just check to see if it is defined.Marshall Clow2013-03-181-2/+2
| | | | llvm-svn: 177291
* No functionality change at this time. I've split _LIBCPP_VISIBLE up into ↵Howard Hinnant2013-03-061-33/+33
| | | | | | two flags: _LIBCPP_TYPE_VIS and _LIBCPP_FUNC_VIS. This is in preparation for taking advantage of clang's new __type_visibility__ attribute. llvm-svn: 176593
* Provide a way to disable use of extern templates in libc++. This is ↵Howard Hinnant2012-11-061-6/+6
| | | | | | intended for the clients of libc++, not the libc++ build. The dylib should always contain the extern templates. To disable the client needs to put -D'_LIBCPP_EXTERN_TEMPLATE(...)=' on the command line. llvm-svn: 167486
* Dimitry Andric: many visibility fixes. Howard: Much appreciated. Can you ↵Howard Hinnant2012-09-141-5/+12
| | | | | | send me a patch to CREDITS.TXT? llvm-svn: 163862
* locale::id really needs to be constructed at compile time.Howard Hinnant2012-07-261-1/+1
| | | | llvm-svn: 160785
* Solaris port. Currently sees around 200 test failures, mostly related toDavid Chisnall2012-02-291-2/+14
| | | | | | | | | | Solaris not providing some of the locales that the test suite uses. Note: This depends on an xlocale (partial) implementation for Solaris and a couple of fixed standard headers. These will be committed to a branch later today. llvm-svn: 151720
* Quash a whole bunch of warningsHoward Hinnant2011-12-011-5/+5
| | | | llvm-svn: 145624
* Further macro protection by replacing _[A-Z] with _[A-Z]pHoward Hinnant2011-11-291-2/+2
| | | | llvm-svn: 145410
* Windows support by Ruben Van Boxem.Howard Hinnant2011-10-171-0/+2
| | | | llvm-svn: 142235
* Starting on musl port by Arvid PiccianiHoward Hinnant2011-10-111-13/+25
| | | | llvm-svn: 141672
* Windows port work by Ruben Van BoxemHoward Hinnant2011-09-291-1/+1
| | | | llvm-svn: 140805
* Windows patch work by Ruben Van BoxemHoward Hinnant2011-09-291-2/+2
| | | | llvm-svn: 140781
* Attempted locale refactoring. _LIBCPP_LOCALE__L_EXTENSIONS now should be ↵Howard Hinnant2011-09-281-1/+1
| | | | | | defined if one has all of the xxx_l() functions. I've defined this for apple, freebsd and win32. _LIBCPP_HAS_DEFAULTRUNELOCALE should be defined if there is a _DefaultRuneLocale. I've defined this for apple and freebsd. The block of code we're trying to migrate away from is now under #ifdef __linux__. I've tested only on OS X. I hope I haven't broken things too badly elsewhere. Please let me know. llvm-svn: 140734
* Partial Windows port by Ruben Van BoxemHoward Hinnant2011-09-221-3/+19
| | | | llvm-svn: 140328
* Fixes for FreeBSD, including some fairly obvious copy-and-paste errors.David Chisnall2011-09-211-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libc++ now mostly works on FreeBSD with libcxxrt and this patch applied to the base system: http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20110920/e666632c/xlocale-0001.obj Summary of tests on FreeBSD: **************************************************** Results for /root/libcxx/test: using FreeBSD clang version 3.0 (trunk 135360) 20110717 Target: x86_64-unknown-freebsd9.0 Thread model: posix with -std=c++0x -stdlib=libc++ -I/root/libcxx/include -L/root/libcxx/build/lib ---------------------------------------------------- sections without tests : 1 sections with failures : 48 sections without failures: 1015 + ---- total number of sections : 1064 ---------------------------------------------------- number of tests failed : 145 number of tests passed : 4179 + ---- total number of tests : 4324 **************************************************** (Many due to this clang version not supporting C++ atomics) More fixes to follow... llvm-svn: 140245
* Enable __locale to work on FreeBSD.David Chisnall2011-09-181-1/+1
| | | | llvm-svn: 140005
* Conditionally wrap the changes from r134781.Alexis Hunt2011-07-091-0/+2
| | | | llvm-svn: 134783
* Implement generalized table lookups for upper, lower, and characterAlexis Hunt2011-07-091-0/+6
| | | | | | | | | | | | | | | | traits. To the best of my knowledge, this will not break the ABI for Apple. However, it does introduce three publicly visible (although with reserved name) functions that will fail to link against the just-shipped Apple version of libc++. Since they are not used in any inline functions, no actual breakage should occur. If Howard doesn't want to put undefined functions (even internal ones) into a header, they could be surrounded by additional conditional compilation. llvm-svn: 134781
* _STD -> _VSTD to avoid macro clash on windowsHoward Hinnant2011-06-301-3/+3
| | | | llvm-svn: 134190
* noexcept for Chapter 22 [localization].Howard Hinnant2011-05-311-33/+33
| | | | llvm-svn: 132337
* noexcept for <memory>. I've added a few extension noexcept to: ↵Howard Hinnant2011-05-281-1/+1
| | | | | | allocator_traits<A>::deallocate, allocaate<T>::deallocate, return_temporary_buffer, and default_delete<T>::operator()(T*) const. My rationale was: If a std-dicated noexcept function needs to call another std-defined function, that called function must be noexcept. We're all a little new to noexcept, so things like this are to be expected. Also included fix for broken __is_swappable trait pointed out by Marc Glisse, thanks Marc|. And fixed a test case for is_nothrow_destructible. Destructors are now noexcept by default| llvm-svn: 132261
* Effort to reduce the number of exported symbolsHoward Hinnant2010-12-171-1/+2
| | | | llvm-svn: 122057
* license changeHoward Hinnant2010-11-161-2/+2
| | | | llvm-svn: 119395
* visibility-decoration.Howard Hinnant2010-09-211-32/+40
| | | | llvm-svn: 114465
* Fixing whitespace problemsHoward Hinnant2010-08-221-5/+5
| | | | llvm-svn: 111750
* now works with -fno-exceptions and -fno-rttiHoward Hinnant2010-08-111-0/+2
| | | | llvm-svn: 110828
* [locale.stdcvt]Howard Hinnant2010-05-301-86/+0
| | | | llvm-svn: 105174
* patch by Jeffrey Yasskin for porting to Ubuntu Hardy. Everything was ↵Howard Hinnant2010-05-241-0/+18
| | | | | | accepted except there were some bug fixes needed in <locale> for the __nolocale_* series. For the apple branch I ended up using templates instead of the var_args solution because it seemed both safer and more efficient. llvm-svn: 104516
* Wiped out some non-ascii characters that snuck into the copyright.Howard Hinnant2010-05-111-1/+1
| | | | llvm-svn: 103516
* libcxx initial importHoward Hinnant2010-05-111-0/+1433
llvm-svn: 103490
OpenPOWER on IntegriCloud