teak-llvm/libcxx/test/std/utilities/function.objects
Eric Fiselier f9127593a9 Implement P0513R0 - "Poisoning the Hash"
Summary:
Exactly what the title says.

This patch also adds a `std::hash<nullptr_t>` specialization in C++17, but it was not added by this paper and I can't find the actual paper that adds it.

See http://wg21.link/P0513R0 for more info.

If there are no comments in the next couple of days I'll commit this

Reviewers: mclow.lists, K-ballo, EricWF

Reviewed By: EricWF

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D28938

llvm-svn: 292684
2017-01-21 00:02:12 +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 fix newly failing c++03 tests 2016-12-24 00:40:45 +00:00
bitwise.operations [libcxx] [test] Replace _LIBCPP_STD_VER with TEST_STD_VER. 2016-11-04 20:26:59 +00:00
comparisons Enable the -Wsign-compare warning to better support MSVC 2016-12-11 05:31:00 +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 Fix unused parameters and variables 2016-12-23 23:37:52 +00:00
func.require Move INVOKE tests into test/libcxx sub-tree. 2016-04-29 01:52:57 +00:00
func.wrap [libcxx] [test] Fix comment typos, strip trailing whitespace. 2017-01-18 20:10:25 +00:00
logical.operations [libcxx] [test] Replace _LIBCPP_STD_VER with TEST_STD_VER. 2016-11-04 20:26:59 +00:00
negators
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 P0513R0 - "Poisoning the Hash" 2017-01-21 00:02:12 +00:00