teak-llvm/libcxx/test/std/utilities/function.objects
Stephan T. Lavavej c255fa5e93 [libcxx] [test] Fix MSVC warning C4244 "conversion from 'X' to 'Y', possible loss of data", part 2/7.
These tests for some guy's transparent operator functors were needlessly truncating their
double results to int. Preserving the doubleness makes compilers happier. I'm following
existing practice by adding an "// exact in binary" comment when the result isn't a whole number.
(The changes from 6 to 6.0 and so forth are stylistic, not critical.)

Fixes D27539.

llvm-svn: 289106
2016-12-08 21:38:01 +00:00
..
arithmetic.operations [libcxx] [test] Fix MSVC warning C4244 "conversion from 'X' to 'Y', possible loss of data", part 2/7. 2016-12-08 21:38:01 +00:00
bind Add missing _v traits. is_bind_expression_v, is_placeholder_v and uses_allocator_v 2016-09-22 00:23:15 +00:00
bitwise.operations [libcxx] [test] Replace _LIBCPP_STD_VER with TEST_STD_VER. 2016-11-04 20:26:59 +00:00
comparisons Mark LWG issue 2450 as complete. 2016-06-02 03:12:44 +00:00
func.def
func.invoke Add void_t and invoke feature test macros 2016-10-14 07:19:52 +00:00
func.memfn Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER. 2016-06-14 21:31:42 +00:00
func.not_fn Update LWG 2767 and add test case 2016-10-16 03:45:06 +00:00
func.require Move INVOKE tests into test/libcxx sub-tree. 2016-04-29 01:52:57 +00:00
func.wrap [libcxx] [test] D26815: Fix an assumption about the state of moved-from std::functions. 2016-11-18 21:54:38 +00:00
logical.operations [libcxx] [test] Replace _LIBCPP_STD_VER with TEST_STD_VER. 2016-11-04 20:26:59 +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 Remove all instances of _LIBCPP_HAS_NO_RVALUE_REFERENCES from test/std/utilities 2016-10-01 10:46:01 +00:00
unord.hash Implement LWG 2148: Make non-enum default hash specialization well-formed 2016-08-10 22:45:26 +00:00