14861507bcChange string_view::at to make it work with gcc and VC++. Thanks to K-ballo for the bug report, and Jonathan Wakeley for the code review in the bar.
Marshall Clow
2015-02-23 21:12:02 +00:00
da1818a08c[libc++] Try and prevent evaluation of is_default_constructible on tuples default constructor if it is not needed.
Eric Fiselier
2015-02-21 02:30:41 +00:00
45969ecfcd[libcxx] Move to using libc++abi2.exp as the default symbol list for libc++
Eric Fiselier
2015-02-21 02:26:24 +00:00
43c1f2368eAdd self to CREDITS.TXT
Larisse Voufo
2015-02-20 06:17:20 +00:00
74f95a01cdMore on adding sized deallocation functions in libc++: Continuing from r229281, this adds version guards and test cases.
Larisse Voufo
2015-02-20 06:13:05 +00:00
d75a44ba24Fix incorrect locale mapping in config.py on OSX
Eric Fiselier
2015-02-19 23:57:46 +00:00
8a8aae4618Move to using -fdiagnostics-color=always on both GCC and Clang
Eric Fiselier
2015-02-19 23:26:54 +00:00
6b5a5e52f0Make basic_streambuf::xsputn write characters in chunks whenever possible, instead of one at a time. References PR#10193
Marshall Clow
2015-02-19 16:17:46 +00:00
784fa1eebaMark more tuple tests as unsupported in C++98 && C++03
Eric Fiselier
2015-02-19 02:44:09 +00:00
f063052fe1[libcxx] Mark most tuple tests UNSUPPORTED for c++03 and c++98.
Eric Fiselier
2015-02-19 02:10:42 +00:00
a46f5ce5bbMove the default template arguments into the forward declarations for the container adapters: stack and queue. References PR#22605.
Marshall Clow
2015-02-18 17:51:56 +00:00
cc3ea928ae[libcxx] Tired of colorless compile errors? Enable color diagnostics today!
Eric Fiselier
2015-02-18 17:39:45 +00:00
ceead9c855Move the default template arguments into the forward declarations for the containers: deque, forwardlist and list. References PR#22605.
Marshall Clow
2015-02-18 17:24:08 +00:00
3f370b0a55Enable testing with _LIBCPP_DEBUG and fix bad assertions in string_view.
Eric Fiselier
2015-02-18 17:00:31 +00:00
13b96fdfbd[libcxx] Add <experimental/ratio>
Eric Fiselier
2015-02-17 16:52:03 +00:00
19efe015fbImplement C++14's sized deallocation functions, since there are no longer implicitly defined by clang, as of r229241.
Larisse Voufo
2015-02-15 05:18:55 +00:00
f1b30c41adHandle function name conflicts in _LIBCPP_MSVCRT mode
Saleem Abdulrasool
2015-02-13 22:15:32 +00:00
846a4a0a65cctype: tweak inclusions for _LIBCPP_MSVCRT case
Saleem Abdulrasool
2015-02-13 22:15:28 +00:00
6bcbced54fRooting out more undefined behavior in char_traits.
Marshall Clow
2015-02-13 16:04:42 +00:00
c3068a136aAppease buildbots
Jonathan Roelofs
2015-02-13 15:34:01 +00:00
4205190e07Modularize TargetInfo discovery in the lit config
Jonathan Roelofs
2015-02-13 15:25:21 +00:00
1bd299a58eFix error checking in get_temp_file_name().
Dan Albert
2015-02-13 03:02:28 +00:00
f2e36ef093Move the test for zero-length into the char_traits (from string_view). Add tests to char_traits specializations
Marshall Clow
2015-02-12 23:34:52 +00:00
7f59a88431Fixed a problem that UBSAN found, where we were calling memcmp(null, p, 0) - which is undefined behavior
Marshall Clow
2015-02-12 19:58:06 +00:00
bdb73f1f8bRemove undefined behavior from test; specifically, compare(NULL, XXX, 0). Thanks to Eric for the catch
Marshall Clow
2015-02-12 15:21:20 +00:00
35e462ddeeChange some template parameter names from _C and _N to _Cont and _Sz. No functionality change.
Marshall Clow
2015-02-11 16:14:01 +00:00
e7d392585eNeed to wrap a bit in an ifdef, since there are no initializer_lists in C++03
Marshall Clow
2015-02-11 15:48:21 +00:00
3024f86865Fix PR 22541: When values are equal, minmax should return the rightmost one in the initializer_list
Marshall Clow
2015-02-11 15:41:34 +00:00
a11e2cf183Update double_include.sh.cpp for new headers.
Eric Fiselier
2015-02-11 01:31:02 +00:00
578c9e8f46libc++ tests: wait_until.pass test sporadically fails (bug 21998)
Eric Fiselier
2015-02-11 01:25:57 +00:00
566739170aMake convert_to_integral.pass.cpp more platform generic.
Eric Fiselier
2015-02-11 01:18:05 +00:00
1a633ca404Remove default definition for libcxx_obj_dir because it doesn't make sense
Eric Fiselier
2015-02-11 01:03:44 +00:00
f42a8e6003Make ABI header not found a warning, not an error.
Dan Albert
2015-02-10 18:46:57 +00:00
47b9a9a286Add pragma system header to some experimental headers and add newlines to files.
Eric Fiselier
2015-02-10 17:32:49 +00:00
5495e2efb9Fix more issues exposed by -pedantic-errors in c++03 mode
Eric Fiselier
2015-02-10 17:20:18 +00:00
7f9cc52fafRemove use of zero length arrays in tests. Get tests passing with -pedantic-errors
Eric Fiselier
2015-02-10 16:51:29 +00:00
c3231d213a[libcxx] Fix PR 22468 - std::function<void()> does not accept non-void-returning functions
Eric Fiselier
2015-02-10 16:48:45 +00:00
31cb7fe75e[libcxx] Properly convert the count arguments to the *_n algorithms before use.
Eric Fiselier
2015-02-10 16:46:42 +00:00
f17cecb13fFix use of C++11 extensions in C++03 code.
Eric Fiselier
2015-02-10 15:17:46 +00:00
062d0a6dfcAdd __cxxabi_config.h to libcxxabi headers.
Dan Albert
2015-02-05 23:56:33 +00:00
8492cd84ffRemove use of _[A-Z] identifiers and poison them to detect usage
Eric Fiselier
2015-02-05 23:01:40 +00:00
75fdf0ea7cGet tests running with warnings. Fix warnings in headers and tests
Eric Fiselier
2015-02-05 20:28:37 +00:00
70e0af45aeFix unused private field warning in stdexcept after r207695.
Dimitry Andric
2015-02-05 07:40:48 +00:00
08fe42c473add platform to LIT's available features
Eric Fiselier
2015-02-03 23:49:58 +00:00
f6ed0311fbFix alignment in tests for readability.
Eric Fiselier
2015-02-03 21:00:15 +00:00
015fb24be6Don't assume LIT_EXECUTABLE points to a Python script, take 2
Greg Fitzgerald
2015-02-03 18:47:37 +00:00
4668566a60Revert "Don't assume LIT_EXECUTABLE points to a Python script"
Greg Fitzgerald
2015-02-03 18:16:47 +00:00
35f1c499e4Don't assume LIT_EXECUTABLE points to a Python script
Greg Fitzgerald
2015-02-03 18:02:04 +00:00
40f8695e54Mark <experimental/system_error> as complete
Eric Fiselier
2015-02-03 16:04:45 +00:00
cdc7bb55df[libcxx] Add <experimental/system_error>
Eric Fiselier
2015-02-03 16:03:24 +00:00
c6893aecfdRevert: Revert r227804: Use fseek/ftell instead of fseeko/ftello when Newlib is the libc
Jonathan Roelofs
2015-02-03 15:34:17 +00:00
57947ca867Rename pow2 functions in __hash_table to reflect that they are hash specific
Eric Fiselier
2015-02-02 21:31:48 +00:00
9e0197634fUpdate LFTS status page
Eric Fiselier
2015-02-02 21:10:21 +00:00
665613f5be[libcxx] Add <experimental/chrono>
Eric Fiselier
2015-02-02 21:05:47 +00:00
a0ec4b7c85Fix PR#22433. The algorithm is_partitioned was testing an item in the middle of the sequence twice.
Marshall Clow
2015-02-02 18:16:35 +00:00
4c2684ccf9Fix PR#22427. The implementation of inplace_merge had a \'small data set\' optimization; if either half of the merge was small (i.e, less than 9 items), it did an inplace merge rather than allocating a buffer and doing a faster/smarter merge. However, this failed to satisfy the complexity requirements in the standard. Remove that code. Add tests to check the complexity, and add the same tests for std::merge, since we are in that section of the test suite anyway.
Marshall Clow
2015-02-02 17:35:53 +00:00
e809f4ce45Reorder a couple of operations in inplace_merge so that we can meet the complexity guidelines mandated by the standard. References PR22427
Marshall Clow
2015-02-02 16:44:11 +00:00
7743dddc8cRevert r227804: Use fseek/ftell instead of fseeko/ftello when Newlib is the libc
Jonathan Roelofs
2015-02-02 15:56:43 +00:00
0c71f582b5Use fseek/ftell instead of fseeko/ftello when Newlib is the libc
Jonathan Roelofs
2015-02-02 15:04:29 +00:00
c49fb89ff4Add myself to CREDITS.TXT.
Dan Albert
2015-01-30 22:40:31 +00:00
e3eda9d453Update web page to direct patches to Phabricator.
Dan Albert
2015-01-30 22:33:41 +00:00
5e56c30413Fix for PR22061 by K-ballo
Marshall Clow
2015-01-28 22:22:35 +00:00
df00d5e5adWe had two identical files named 'MoveOnly.h' in the test suite. Move one to support/, remove the other, and update all the tests that included them. No functionality change.
Marshall Clow
2015-01-28 21:22:53 +00:00
eea9d20edbRemoved some tabs that snuck into the test suite. No functionality change
Marshall Clow
2015-01-28 20:26:11 +00:00
01c1c6fcc7Fix PR22366. When move-constructing an associative container and explicitly passing an allocator that compares different, we were not calling the destructor of the elements in the moved-from container.
Marshall Clow
2015-01-28 19:54:25 +00:00
a769d7ff49Fix flag order of -xc++ in CXXCompiler.
Eric Fiselier
2015-01-28 00:05:48 +00:00
db5d6af29bFix definition of __has_feature in r227263
Eric Fiselier
2015-01-27 23:05:41 +00:00
a4449da43cEnsure __has_feature is defined in test/support/count_new.hpp
Eric Fiselier
2015-01-27 23:03:38 +00:00
e1a6c17251Fix linking pthread in tests on FreeBSD
Eric Fiselier
2015-01-27 20:43:53 +00:00
a7dcd3a3e1[libcxx] Make __wrap_iter work with gcc.
Nico Weber
2015-01-27 19:27:39 +00:00
e9d4b23051Adopt CMake policy CMP0042. Set MACOSX_RPATH on by default.
Eric Fiselier
2015-01-26 21:56:45 +00:00
a1bca66d28Added test for incomplete type support in vector/list/forward_list. References PR#17980
Marshall Clow
2015-01-26 20:06:52 +00:00
bfad86e967Change the available features used for no-rtti and no-exceptions
Eric Fiselier
2015-01-26 18:11:58 +00:00
b9bf4a2185Fix PR21428. Buffer was one byte too small in octal formatting case. Add test
Marshall Clow
2015-01-26 17:24:52 +00:00
f51d676a0eGet libc++ building on Sun Solaris. Patch from C Bergstrom.
Eric Fiselier
2015-01-23 22:22:36 +00:00
447c76d9eeAdd USES_TERMINAL to libcxx lit tests, if available
Filipe Cabecinhas
2015-01-23 06:59:51 +00:00
3150c3547aFix PR#22284. Add a new overload to deque::insert to handle forward iterators. Update tests to exercise this case.
Marshall Clow
2015-01-22 18:33:29 +00:00
dd7a4836e3[libcxx] Allow use of ShTest in libc++ tests along with other changes.
Eric Fiselier
2015-01-22 18:05:58 +00:00
0243015f64Fix lit config typo
Jonathan Roelofs
2015-01-22 00:05:11 +00:00
07b133f2a7tuple: Make operator<() linear instead of exponential
Duncan P. N. Exon Smith
2015-01-21 02:51:17 +00:00
b3289a0c88Only use -target flag when target_triple is manually specified
Eric Fiselier
2015-01-20 22:37:25 +00:00
e93e0347a6Print compiler path during configuration and pass more flags to the linker
Eric Fiselier
2015-01-20 16:26:48 +00:00
9ef5d45b2cAddress danalbert's post-commit review comments on D7019 and small fixes.
Eric Fiselier
2015-01-20 16:14:18 +00:00
02f6369a6bCleaning up the test suite; remove some includes of non-standard file <__config>
Marshall Clow
2015-01-18 19:05:51 +00:00
33f50fb940A couple small changes to get LIT working with python3
Eric Fiselier
2015-01-16 21:59:07 +00:00
28a058bd51[libcxx] Add compiler utility class for LIT tests
Eric Fiselier
2015-01-16 21:35:08 +00:00
ae8bc6b3efAdd 'no_default_flags' option for turning off all default test compile and link flags.
Eric Fiselier
2015-01-16 21:22:08 +00:00
cbc84977aaRemove triple detection from cmake.
Dan Albert
2015-01-16 02:27:17 +00:00
818911cc85[libc++] Add support for cross compiling.
Dan Albert
2015-01-16 00:55:15 +00:00
66ffe01f97Print out environment in lit notes
Jonathan Roelofs
2015-01-15 23:04:37 +00:00
7df8e62258Use set() instead of option() for string option.
Dan Albert
2015-01-15 18:56:45 +00:00
00a620eb3bAdd a cmake option for LIT configuration variant.
Dan Albert
2015-01-15 18:35:04 +00:00
88b2a86232Refactor configure_link_flags for modularity. NFC
Jonathan Roelofs
2015-01-15 16:18:13 +00:00