summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/experimental
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-04-20 00:14:32 +0000
committerEric Fiselier <eric@efcs.ca>2016-04-20 00:14:32 +0000
commit840fa745ca493123c44d7e9b62676f3a0cd23c0d (patch)
tree48f0ece836408898936fa627512b5422a3e562b2 /libcxx/test/std/experimental
parent3eef9d180dbc9458f96f3e0f6a79fdee56bb8aae (diff)
downloadbcm5719-llvm-840fa745ca493123c44d7e9b62676f3a0cd23c0d.tar.gz
bcm5719-llvm-840fa745ca493123c44d7e9b62676f3a0cd23c0d.zip
Add 'is_callable' and 'is_nothrow_callable' traits and cleanup INVOKE.
The primary purpose of this patch is to add the 'is_callable' traits. Since 'is_nothrow_callable' required making 'INVOKE' conditionally noexcept I also took this oppertunity to implement a constexpr version of INVOKE. This fixes 'std::experimental::apply' which required constexpr 'INVOKE support'. This patch will be followed up with some cleanup. Primarly removing most of "__member_function_traits" since it's no longer used by INVOKE (in C++11 at least). llvm-svn: 266836
Diffstat (limited to 'libcxx/test/std/experimental')
-rw-r--r--libcxx/test/std/experimental/utilities/tuple/tuple.apply/constexpr_types.pass.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/libcxx/test/std/experimental/utilities/tuple/tuple.apply/constexpr_types.pass.cpp b/libcxx/test/std/experimental/utilities/tuple/tuple.apply/constexpr_types.pass.cpp
index 2d700486f26..5b8a8f09d1e 100644
--- a/libcxx/test/std/experimental/utilities/tuple/tuple.apply/constexpr_types.pass.cpp
+++ b/libcxx/test/std/experimental/utilities/tuple/tuple.apply/constexpr_types.pass.cpp
@@ -9,11 +9,6 @@
// UNSUPPORTED: c++98, c++03, c++11
-// TODO(ericwf)
-// constexpr support temporarily reverted due to bug:
-// https://llvm.org/bugs/show_bug.cgi?id=23141
-// XFAIL: *
-
// <experimental/tuple>
// template <class F, class T> constexpr decltype(auto) apply(F &&, T &&)
OpenPOWER on IntegriCloud