teak-llvm/libcxx/test/std/utilities/function.objects
Asiri Rathnayake 6edc12c886 [libcxx] Improve tests to use the UNSUPPORTED lit directive
Quite a few libcxx tests seem to follow the format:
 #if _LIBCPP_STD_VER > X
   // Do test.
 #else
   // Empty test.
 #endif
We should instead use the UNSUPPORTED lit directive to exclude the test on
earlier C++ standards. This gives us a more accurate number of test passes
for those standards and avoids unnecessary conflicts with other lit
directives on the same tests.

Reviewers: bcraig, ericwf, mclow.lists

Differential revision: http://reviews.llvm.org/D20730

llvm-svn: 271108
2016-05-28 08:57:35 +00:00
..
arithmetic.operations [libcxx] Improve tests to use the UNSUPPORTED lit directive 2016-05-28 08:57:35 +00:00
bind Remove names of unreferenced parameters. Patch from STL@microsoft.com 2016-04-28 03:17:56 +00:00
bitwise.operations [libcxx] Improve tests to use the UNSUPPORTED lit directive 2016-05-28 08:57:35 +00:00
comparisons [libcxx] Improve tests to use the UNSUPPORTED lit directive 2016-05-28 08:57:35 +00:00
func.def
func.invoke Implement LWG issue 2219 - support reference_wrapper in INVOKE 2016-04-18 06:17:30 +00:00
func.memfn Fix LWG#2489: mem_fn() should be noexcept 2015-10-25 20:12:16 +00:00
func.require Move INVOKE tests into test/libcxx sub-tree. 2016-04-29 01:52:57 +00:00
func.wrap Implement LWG#2385; remove the allocator-aware std::function::assign call. It was useless, and didn't actually *do anything* with the allocator. Now it's gone. On the off chance that someone is mistakenly calling it, it's only gone in C++1z 2016-01-25 17:29:55 +00:00
logical.operations [libcxx] Improve tests to use the UNSUPPORTED lit directive 2016-05-28 08:57:35 +00:00
negators 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
refwrap Mark some test XFAIL for GCC 4.9 due to missing is_trivial* traits 2016-01-20 04:59:57 +00:00
unord.hash Add hash specializations for __int128_t. Fixes LWG issue 2119 2016-04-18 02:54:00 +00:00
version.pass.cpp