summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/algorithms/alg.nonmodifying
Commit message (Collapse)AuthorAgeFilesLines
* Purge all usages of _LIBCPP_STD_VER under test/std/algorithmEric Fiselier2016-10-085-95/+85
| | | | llvm-svn: 283643
* Remove trailing whitespace in test suite. Approved by Marshall Clow.Eric Fiselier2016-06-012-3/+3
| | | | llvm-svn: 271435
* Fix warnings in test/std/algorithmsEric Fiselier2015-07-182-7/+6
| | | | llvm-svn: 242626
* [libcxx] Properly convert the count arguments to the *_n algorithms before use.Eric Fiselier2015-02-102-0/+10
| | | | | | | | | | | | | | | | | 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
* Removed some tabs that snuck into the test suite. No functionality changeMarshall Clow2015-01-282-14/+14
| | | | llvm-svn: 227363
* Move test into test/std subdirectory.Eric Fiselier2014-12-2026-0/+2713
llvm-svn: 224658
OpenPOWER on IntegriCloud