summaryrefslogtreecommitdiffstats
path: root/libcxx
Commit message (Collapse)AuthorAgeFilesLines
...
* [tests] Mark another stream input expected failure (with system libc++).Daniel Dunbar2013-02-051-0/+2
| | | | llvm-svn: 174453
* [tests] Mark another stream input expected failure (with system libc++).Daniel Dunbar2013-02-051-0/+2
| | | | llvm-svn: 174452
* [tests] Mark some string.conversions expected failures (with system libc++).Daniel Dunbar2013-02-052-0/+6
| | | | llvm-svn: 174451
* [tests] XFAIL a few things that require libc (?) support missing on Darwin.Daniel Dunbar2013-02-054-0/+8
| | | | llvm-svn: 174450
* [tests] Mark some istream.unformatted expected failures (with system libc++).Daniel Dunbar2013-02-054-0/+9
| | | | llvm-svn: 174444
* [tests] Add an available feature that combines the triple and use_system_lib.Daniel Dunbar2013-02-051-0/+8
| | | | | | | - This is so that we can easily write XFAIL markers for tests that are known to fail with versions of libc++ as were shipped with a particular triple. llvm-svn: 174443
* [tests] Add support for REQUIRES and XFAIL lines in libc++ tests.Daniel Dunbar2013-02-051-1/+68
| | | | | | | | | | - We parse up to the first non-empty non-comment (C++ style) line, otherwise the format and semantics match what is used for LLVM/Clang tests. - For now, the only interesting thing to test against is a user supplied target_triple test parameter. llvm-svn: 174440
* [tests] Add a 'use_system_lib' parameter.Daniel Dunbar2013-02-051-11/+37
| | | | | | | | | | | - This controls whether to execute against the locally built library or not. The default is currently True which maps to what was already being done by default. - I'd appreciate it if someone can implement the proper handling of this flag on linux, I no longer remember the details of its .so handling. llvm-svn: 174404
* Saleem Abdulrasool: If errno is defined as volatile int, the qualifier ↵Howard Hinnant2013-01-222-20/+20
| | | | | | | | | | | differences can cause template typename deductions on swap<> (used in string.cpp). Use decltype(errno) to replicate the type and qualifier information for holding the errno value. Because errno is expected to be assignable, there is no need to use typename std::remove_const<decltype(errno)>::type to hold the value. llvm-svn: 173172
* Saleem Abdulrasool: __terminate_handler and __unexpected_handler are defined ↵Howard Hinnant2013-01-221-1/+1
| | | | | | | | | but not used when building against libsupc++ as the functions for which they are used are provided by libsupc++. Simply preprocess them away when building against libsupc++. llvm-svn: 173165
* Saleem Abdulrasool: Ensure that __GLIBCXX__ is defined when building with ↵Howard Hinnant2013-01-221-0/+1
| | | | | | libsupc++. llvm-svn: 173164
* Implement the ATOMIC_*_LOCK_FREE macros.Howard Hinnant2013-01-211-8/+12
| | | | llvm-svn: 173084
* Donated anonymously: This enables GCC 4.8.0 to build libc++.Howard Hinnant2013-01-212-2/+2
| | | | llvm-svn: 173060
* Make a few tests optimization-proof. These tests were failing under -O3 ↵Howard Hinnant2013-01-164-4/+4
| | | | | | because the optimizer was eliminating the call to new. llvm-svn: 172631
* Optimize basic_ostream::write by having it call sputn instead of sputc.Howard Hinnant2013-01-151-11/+2
| | | | llvm-svn: 172542
* Make <cmath> classification macros work with integral types.Howard Hinnant2013-01-142-42/+60
| | | | llvm-svn: 172461
* Fix a race in the construction of future. This fixes ↵Howard Hinnant2013-01-142-2/+6
| | | | | | http://llvm.org/bugs/show_bug.cgi?id=14934. llvm-svn: 172456
* Fix string conversions functions to throw out_of_range properly. Fixes ↵Howard Hinnant2013-01-143-62/+80
| | | | | | http://llvm.org/bugs/show_bug.cgi?id=14919. llvm-svn: 172447
* Michael van der Westhuizen: Improve support for testing on Linux. Fixes ↵Howard Hinnant2013-01-142-6/+30
| | | | | | http://llvm.org/bugs/show_bug.cgi?id=14892. llvm-svn: 172436
* Michael van der Westhuizen: Patches for Linux. Fixes ↵Howard Hinnant2013-01-143-2/+8
| | | | | | http://llvm.org/bugs/show_bug.cgi?id=14648. llvm-svn: 172435
* Fix exception safety bug in vector::push_backHoward Hinnant2013-01-118-3/+446
| | | | llvm-svn: 172250
* Made test output iterators have value_type of 'void'; matches ones in libraryMarshall Clow2013-01-092-1/+14
| | | | llvm-svn: 171980
* Move common header files into a 'support' directory; make 'testit' include ↵Marshall Clow2013-01-05364-388/+389
| | | | | | -I to that directory; rename 'iterators.h' to 'iterator_test.h'; remove hard-coded paths to include files from more than 350 source files llvm-svn: 171594
* atomic_bool was missing (just a typedef to atomic<bool>).Howard Hinnant2013-01-042-0/+59
| | | | llvm-svn: 171498
* ...and then there was one. Only one copy of 'iterators.h' in the test tree ↵Marshall Clow2013-01-04113-762/+152
| | | | | | for libc++ llvm-svn: 171479
* Removed another copy of 'iterators.h' files in libcxx/testMarshall Clow2013-01-0359-336/+58
| | | | llvm-svn: 171456
* Removed several more different 'iterators.h' files in libcxx/testMarshall Clow2013-01-03134-883/+131
| | | | llvm-svn: 171452
* Removed 7 (of 8) different 'iterators.h' files in test/localizationMarshall Clow2013-01-0366-355/+85
| | | | llvm-svn: 171443
* Updating CREDITS.TXTHoward Hinnant2013-01-011-0/+4
| | | | llvm-svn: 171347
* Update the copyright coredits -- Happy new year 2013!NAKAMURA Takumi2013-01-011-2/+2
| | | | llvm-svn: 171342
* Klaas de Vries: Fix bug in libc++'s std::string::find_first_not_of.Howard Hinnant2012-12-312-1/+3
| | | | llvm-svn: 171321
* [CMake] Fix c++ abi library configuration on Linux.Michael J. Spencer2012-12-313-5/+69
| | | | | | | | | | You can now configure from the command line using: -DLIBCXX_CXX_ABI=libsupc++ -DLIBCXX_LIBSUPCXX_INCLUDE_PATHS="path;path Also documents how to build on Linux. llvm-svn: 171316
* Don't mark variadic functions as always inline -- they cannot in fact beChandler Carruth2012-12-311-4/+4
| | | | | | | | inlined. Patch by Saleem Abdulrasool, reviewed by Michael Spencer and Richard Smith. llvm-svn: 171276
* Add a simple .arcconfig to make using the 'arc' commandline tool and theChandler Carruth2012-12-311-0/+4
| | | | | | phabricator code review site easier with libc++. llvm-svn: 171275
* Remove test for eof from istreambuf_iterator constructors. It is no longer ↵Howard Hinnant2012-12-291-2/+2
| | | | | | necessary and potentially violates the constructor's noexcept spec. llvm-svn: 171232
* Saleem Abdulrasool: GCC complains about the template functions as ↵Howard Hinnant2012-12-281-28/+5
| | | | | | | | | potentially not being able to be inlined. These do not need to be always-inlined for ABI stability because they are not exported beyond this source due to the unnamed namespace. Also simplified use of the Wmissing-field-initializers pragma as was done for clang. llvm-svn: 171202
* Saleem Abdulrasool: Add entry to CREDITS.TXT.Howard Hinnant2012-12-271-43/+47
| | | | llvm-svn: 171174
* Saleem Abdulrasool: cleanup a few more compile warnings emitted by GCC.Howard Hinnant2012-12-272-2/+35
| | | | llvm-svn: 171173
* Saleem Abdulrasool: avoid hardcoding buffer lengths.Howard Hinnant2012-12-272-44/+61
| | | | llvm-svn: 171169
* Saleem Abdulrasool: Silence warning and reduce unnecessary code in hash.cpp.Howard Hinnant2012-12-271-8/+13
| | | | llvm-svn: 171167
* Saleem Abdulrasool: This just rounds up a few compile warnings emitted by ↵Howard Hinnant2012-12-272-14/+13
| | | | | | GCC (4.7.2). llvm-svn: 171165
* Remove redundant inits. Patch by Eitan Adler.Chad Rosier2012-12-221-3/+0
| | | | llvm-svn: 170967
* Test case for http://llvm.org/bugs/show_bug.cgi?id=14670.Howard Hinnant2012-12-201-0/+2
| | | | llvm-svn: 170706
* Hyeon-Bin Jeong: readsome() need to reset gcount to zero. This fixes ↵Howard Hinnant2012-12-201-0/+1
| | | | | | http://llvm.org/bugs/show_bug.cgi?id=14670. llvm-svn: 170703
* Implement std::is_base_of for the case where we don't have a compilerRichard Smith2012-12-201-1/+22
| | | | | | | | intrinsic. This relies upon the fact that overload resolution does not check access and ambiguity for a derived-to-base conversion. This passes all is_base_of tests in the test suite. llvm-svn: 170662
* Added static_assert to std::get<N>(std::array) calls to catch "out of ↵Marshall Clow2012-12-182-0/+28
| | | | | | bounds" calls llvm-svn: 170435
* Updated CREDITS.TXTHoward Hinnant2012-12-131-0/+4
| | | | llvm-svn: 170062
* Zhang Xiongpang: Add definitions for const data members. Fixes ↵Howard Hinnant2012-12-1219-0/+669
| | | | | | http://llvm.org/bugs/show_bug.cgi?id=14585. llvm-svn: 170026
* Modify testit to use the local headers and lib. Thanks go to Jeffrey Yasskin.Howard Hinnant2012-12-091-0/+28
| | | | llvm-svn: 169686
* [CMake] Add support for selecting which c++ abi library to use.Michael J. Spencer2012-11-303-3/+59
| | | | llvm-svn: 169036
OpenPOWER on IntegriCloud