llvm-project/libcxx/test/std/utilities/function.objects/negators
Louis Dionne 255f376f6b [libcxx] Fix the binder deprecation tests on Clang 5.
Tested on Docker containers with Clang 4, 5 and 6.

llvm-svn: 342855
2018-09-23 23:17:48 +00:00
..
binary_negate.depr_in_cxx17.fail.cpp [libcxx] Fix the binder deprecation tests on Clang 5. 2018-09-23 23:17:48 +00:00
binary_negate.pass.cpp
not1.depr_in_cxx17.fail.cpp [libcxx] Fix the binder deprecation tests on Clang 5. 2018-09-23 23:17:48 +00:00
not1.pass.cpp
not2.depr_in_cxx17.fail.cpp [libcxx] Fix the binder deprecation tests on Clang 5. 2018-09-23 23:17:48 +00:00
not2.pass.cpp
unary_negate.depr_in_cxx17.fail.cpp [libcxx] Fix the binder deprecation tests on Clang 5. 2018-09-23 23:17:48 +00:00
unary_negate.pass.cpp In C++03, a bunch of the arithmetic/logical/comparison functors (such as negate/bit_not.pass/logical_not) were defined as deriving from unary_funtion. That restriction was removed in C++11, but the tests still check for this. Change the test to look for the embedded types first_argument/second_argument/result_type. No change to the library, just more standards-compliant tests. Thanks to STL @ Microsoft for the suggestion. 2015-01-07 21:51:30 +00:00