llvm-project/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func
Arthur O'Dwyer f9b6fd269b [libc++] Support immovable return types in std::function.
LWG reflector consensus is that this was a bug in libc++.
(In particular, MSVC also will fix it in their STL, soon.)
Bug originally discovered by Logan Smith.

Also fix `std::function<const void()>`, which should work
the same way as `std::function<void()>` in terms of allowing
"conversions" from non-void types.

Differential Revision: https://reviews.llvm.org/D94452
2021-01-25 19:34:41 -05:00
..
func.wrap.func.alg [libc++] Fix failures when running the test suite without RTTI 2020-09-21 20:17:24 -04:00
func.wrap.func.cap [libc++] Fix warnings with Clang in C++03 2020-04-21 11:03:05 -04:00
func.wrap.func.con [runtimes] Use int main(int, char**) consistently in tests 2020-10-08 14:28:13 -04:00
func.wrap.func.inv [libc++] Fix warnings with Clang in C++03 2020-04-21 11:03:05 -04:00
func.wrap.func.mod [libc++] Fix failures when running the test suite without RTTI 2020-09-21 20:17:24 -04:00
func.wrap.func.nullptr [libc++] Fix warnings with Clang in C++03 2020-04-21 11:03:05 -04:00
func.wrap.func.targ [libc++] Rename the -fno-rtti Lit feature to just no-rtti 2020-09-29 16:29:44 -04:00
derive_from.compile.fail.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
derive_from.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
function_types.h Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
noncopyable_return_type.pass.cpp [libc++] Support immovable return types in std::function. 2021-01-25 19:34:41 -05:00
robust_against_adl.pass.cpp [libc++] ADL-proof <functional> by adding _VSTD:: qualification on calls. 2020-12-14 12:08:34 -05:00
types.pass.cpp [libc++] Fix warnings with Clang in C++03 2020-04-21 11:03:05 -04:00