summaryrefslogtreecommitdiffstats
path: root/libcxx/test/support/counting_predicates.hpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix missing includes in test headerEric Fiselier2018-11-211-5/+6
| | | | llvm-svn: 347416
* [libcxx] [test] Update for C++17 feature removals.Stephan T. Lavavej2017-08-241-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test/std/containers/Emplaceable.h test/std/containers/NotConstructible.h test/support/counting_predicates.hpp Replace unary_function/binary_function inheritance with typedefs. test/std/depr/depr.function.objects/depr.base/binary_function.pass.cpp test/std/depr/depr.function.objects/depr.base/unary_function.pass.cpp test/std/utilities/function.objects/func.require/binary_function.pass.cpp test/std/utilities/function.objects/func.require/unary_function.pass.cpp Mark these tests as requiring 98/03/11/14 because 17 removed unary_function/binary_function. test/std/thread/futures/futures.task/futures.task.members/ctor_func_alloc.pass.cpp test/std/thread/futures/futures.task/futures.task.nonmembers/uses_allocator.pass.cpp Mark these tests as requiring 11/14 because 17 removed packaged_task allocator support. test/std/utilities/function.objects/func.wrap/func.wrap.func/derive_from.pass.cpp This test doesn't need to be skipped in C++17 mode. Only the construction of std::function from an allocator needs to be skipped in C++17 mode. test/std/utilities/function.objects/refwrap/refwrap.access/conversion.pass.cpp test/std/utilities/function.objects/refwrap/refwrap.assign/copy_assign.pass.cpp test/std/utilities/function.objects/refwrap/refwrap.const/copy_ctor.pass.cpp test/std/utilities/function.objects/refwrap/refwrap.const/type_ctor.pass.cpp When testing these reference_wrapper features, unary_function inheritance is totally irrelevant. test/std/utilities/function.objects/refwrap/weak_result.pass.cpp Define and use my_unary_function/my_binary_function to test the weak result type machinery (which is still present in C++17, although deprecated). test/support/msvc_stdlib_force_include.hpp Now we can test C++17 strictly, without enabling removed features. Fixes D36503. llvm-svn: 311705
* Remove trailing whitespace in test suite. Approved by Marshall Clow.Eric Fiselier2016-06-011-3/+3
| | | | llvm-svn: 271435
* Whitespace maintenance. Remove a bunch of tabs that snuck in. No ↵Marshall Clow2014-10-181-19/+19
| | | | | | functionality change llvm-svn: 220142
* Fix PR#202520 - predicate called too many times in list::remove_if. Add ↵Marshall Clow2014-08-041-6/+3
| | | | | | tests for list, forward_list, and the std::remove_if algorithm llvm-svn: 214736
* Add a reset method to the counting predicates in the test suiteMarshall Clow2014-07-091-1/+3
| | | | llvm-svn: 212651
* Testing infastructure: A template for char_traits where all the functions ↵Marshall Clow2014-06-061-0/+47
are constexpr, and a comparison predicate which counts how many times it's been called. llvm-svn: 210381
OpenPOWER on IntegriCloud