Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix portability issues in <random> tests. Patch from STL@microsoft.com | Eric Fiselier | 2016-07-24 | 3 | -5/+16 |
| | | | | llvm-svn: 276585 | ||||
* | Implement LWG#2688: 'clamp misses preconditions and has extraneous condition ↵ | Marshall Clow | 2016-06-30 | 2 | -4/+135 |
| | | | | | | on result'. We already did this, just added tests llvm-svn: 274252 | ||||
* | Add array bounds assertions to satisfy MSVC's /analyze flag. Patch from ↵ | Eric Fiselier | 2016-06-26 | 2 | -0/+8 |
| | | | | | | STL@microsoft.com llvm-svn: 273820 | ||||
* | Move remaining _LIBCPP_VERSION tests into test/libcxx | Eric Fiselier | 2016-06-22 | 1 | -20/+0 |
| | | | | llvm-svn: 273367 | ||||
* | Replace __cplusplus comparisons and dialect __has_feature checks with ↵ | Eric Fiselier | 2016-06-14 | 6 | -12/+12 |
| | | | | | | | | | TEST_STD_VER. This is a huge cleanup that helps make the libc++ test suite more portable. Patch from STL@microsoft.com. Thanks STL! llvm-svn: 272716 | ||||
* | [libcxx] Fix c++98 test failures. | Asiri Rathnayake | 2016-06-03 | 2 | -2/+2 |
| | | | | | | | | | Adds XFAIL/UNSUPPORTED lit tags as appropriate. Gets a clean test run for -std=c++98 on Fedora 20. NFC. llvm-svn: 271741 | ||||
* | Remove trailing whitespace in test suite. Approved by Marshall Clow. | Eric Fiselier | 2016-06-01 | 13 | -20/+20 |
| | | | | llvm-svn: 271435 | ||||
* | Remove names of unreferenced parameters. Patch from STL@microsoft.com | Eric Fiselier | 2016-04-28 | 1 | -1/+1 |
| | | | | llvm-svn: 267852 | ||||
* | Add braces, move braces, and rename variables to avoid shadowing. Patch from ↵ | Eric Fiselier | 2016-04-28 | 1 | -0/+2 |
| | | | | | | STL@microsoft.com llvm-svn: 267844 | ||||
* | Implement P0025R0: 'An algorithm to clamp a value between a pair of boundary ↵ | Marshall Clow | 2016-03-07 | 2 | -0/+121 |
| | | | | | | values' for C++17 llvm-svn: 262871 | ||||
* | Change some #ifdefs to #if - thanks to Dexon for thge catch. | Marshall Clow | 2015-07-30 | 2 | -4/+4 |
| | | | | llvm-svn: 243641 | ||||
* | Fix a self-move bug in inplace_merge. Thanks to Ted and Dexon for the report ↵ | Marshall Clow | 2015-07-29 | 2 | -10/+69 |
| | | | | | | and the suggested fix. llvm-svn: 243530 | ||||
* | Fix warnings in test/std/algorithms | Eric Fiselier | 2015-07-18 | 5 | -16/+15 |
| | | | | llvm-svn: 242626 | ||||
* | Fix for LWG Issue 2369: constexpr max(initializer_list) vs max_element | Marshall Clow | 2015-05-10 | 6 | -0/+89 |
| | | | | llvm-svn: 236952 | ||||
* | Need to wrap a bit in an ifdef, since there are no initializer_lists in C++03 | Marshall Clow | 2015-02-11 | 1 | -0/+2 |
| | | | | llvm-svn: 228840 | ||||
* | Fix PR 22541: When values are equal, minmax should return the rightmost one ↵ | Marshall Clow | 2015-02-11 | 1 | -0/+35 |
| | | | | | | in the initializer_list llvm-svn: 228839 | ||||
* | [libcxx] Properly convert the count arguments to the *_n algorithms before use. | Eric Fiselier | 2015-02-10 | 5 | -11/+30 |
| | | | | | | | | | | | | | | | | | Summary: The requirement on the `Size` type passed to *_n algorithms is that it is convertible to an integral type. This means we can't use a variable of type `Size` directly. Instead we need to convert it to an integral type first. The problem is finding out what integral type to convert it to. `__convert_to_integral` figures out what integral type to convert it to and performs the conversion, It also promotes the resulting integral type so that it is at least as big as an integer. `__convert_to_integral` also has a special case for converting enums. This should only work on non-scoped enumerations because it does not apply an explicit conversion from the enum to its underlying type. Reviewers: chandlerc, mclow.lists Reviewed By: mclow.lists Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D7449 llvm-svn: 228704 | ||||
* | Test commit: remove whitespace at EOL. | Dimitry Andric | 2015-02-05 | 1 | -1/+1 |
| | | | | llvm-svn: 228280 | ||||
* | Fix PR#22433. The algorithm is_partitioned was testing an item in the middle ↵ | Marshall Clow | 2015-02-02 | 1 | -5/+24 |
| | | | | | | of the sequence twice. llvm-svn: 227824 | ||||
* | Fix PR#22427. The implementation of inplace_merge had a \'small data set\' ↵ | Marshall Clow | 2015-02-02 | 2 | -3/+12 |
| | | | | | | 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. llvm-svn: 227811 | ||||
* | Removed some tabs that snuck into the test suite. No functionality change | Marshall Clow | 2015-01-28 | 3 | -15/+15 |
| | | | | llvm-svn: 227363 | ||||
* | Fix PR 22106; make std::swap work for multi-dimensional arrays. Thanks to ↵ | Marshall Clow | 2015-01-06 | 1 | -0/+49 |
| | | | | | | Peter Griess for the report and suggested fix llvm-svn: 225285 | ||||
* | Move test into test/std subdirectory. | Eric Fiselier | 2014-12-20 | 145 | -0/+15343 |
llvm-svn: 224658 |