summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-12-03 01:28:01 +0000
committerEric Fiselier <eric@efcs.ca>2016-12-03 01:28:01 +0000
commitf9353d89bef308a7e1f5cc98f7f593095395f69a (patch)
tree5939532f4a6156395674daf05e8b44b9fe6bc3b7 /libcxx/test/std
parent283d8d45dbfcd12aec26d08e54eaae3c1c81aebc (diff)
downloadbcm5719-llvm-f9353d89bef308a7e1f5cc98f7f593095395f69a.tar.gz
bcm5719-llvm-f9353d89bef308a7e1f5cc98f7f593095395f69a.zip
Revert workaround for Clang bug. Thanks to Richard for the quick fix
llvm-svn: 288566
Diffstat (limited to 'libcxx/test/std')
-rw-r--r--libcxx/test/std/utilities/meta/meta.rel/is_nothrow_callable.pass.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/libcxx/test/std/utilities/meta/meta.rel/is_nothrow_callable.pass.cpp b/libcxx/test/std/utilities/meta/meta.rel/is_nothrow_callable.pass.cpp
index a7dee5ca4c2..eefa6d1f22b 100644
--- a/libcxx/test/std/utilities/meta/meta.rel/is_nothrow_callable.pass.cpp
+++ b/libcxx/test/std/utilities/meta/meta.rel/is_nothrow_callable.pass.cpp
@@ -54,11 +54,7 @@ constexpr bool throws_callable() {
void test_noexcept_function_pointers()
{
struct Dummy { void foo() noexcept {} static void bar() noexcept {} };
-
-// FIXME(EricWF): Remove the __clang__ workaround. As of 2/12/2016 Clang has
-// a bug where calling a noexcept function pointer is not noexcept.
-// See https://llvm.org/bugs/show_bug.cgi?id=31244
-#if !defined(__cpp_noexcept_function_type) || defined(__clang__)
+#if !defined(__cpp_noexcept_function_type)
{
// Check that PMF's and function pointers *work*. is_nothrow_callable will always
// return false because 'noexcept' is not part of the function type.
OpenPOWER on IntegriCloud