llvm-project/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con
Eric Fiselier 54519a6be9 [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

llvm-svn: 228705
2015-02-10 16:48:45 +00:00
..
F.pass.cpp [libcxx] Fix PR 22468 - std::function<void()> does not accept non-void-returning functions 2015-02-10 16:48:45 +00:00
F_assign.pass.cpp [libcxx] Fix PR 22468 - std::function<void()> does not accept non-void-returning functions 2015-02-10 16:48:45 +00:00
F_incomplete.pass.cpp
alloc.pass.cpp
alloc_F.pass.cpp [libcxx] Fix PR 22468 - std::function<void()> does not accept non-void-returning functions 2015-02-10 16:48:45 +00:00
alloc_function.pass.cpp Fix use of C++11 extensions in C++03 code. 2015-02-10 15:17:46 +00:00
alloc_nullptr.pass.cpp
alloc_rfunction.pass.cpp
copy.pass.cpp
copy_assign.pass.cpp
default.pass.cpp
no-variadics.pass.cpp
nullptr_t.pass.cpp
nullptr_t_assign.pass.cpp