You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv
Eric Fiselier c3231d213a [libcxx] Fix PR 22468 - std::function<void()> does not accept non-void-returning functions
Summary:
The bug can be found here: http://llvm.org/bugs/show_bug.cgi?id=22468

`__invoke_void_return_wrapper` is needed to properly handle calling a function that returns a value but where the std::function return type is void. Without this '-Wsystem-headers' will cause `function::operator()(...)` to not compile. 

Reviewers: eugenis, K-ballo, mclow.lists

Reviewed By: mclow.lists

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D7444

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@228705 91177308-0d34-0410-b5e6-96231b3b80d8
11 years ago
..
invoke.fail.cpp Move test into test/std subdirectory. 11 years ago
invoke.pass.cpp Move test into test/std subdirectory. 11 years ago
invoke_int_0.pass.cpp Move test into test/std subdirectory. 11 years ago
invoke_no_variadics.pass.cpp [libcxx] Fix PR 22468 - std::function<void()> does not accept non-void-returning functions 11 years ago
invoke_void_0.pass.cpp Move test into test/std subdirectory. 11 years ago