From 593b23f6a74e99e63b12b5b2159faee66800dd85 Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Sun, 23 Sep 2018 22:16:35 +0000 Subject: [libcxx] Fix buildbots on Debian Debian build bots are running Clang 4, which apparently does not support the "deprecated" attribute properly. Clang pretends to support the attribute, but the attribute doesn't do anything. (live example: https://wandbox.org/permlink/0De69aXns0t1D59r) On a separate note, I'm not sure I understand why we're even running the libc++ tests under Clang-4. Is this a configuration we support? I can understand that libc++ should _build_ with Clang 4, but it's not clear to me that new libc++ headers should be usable under older compilers like that. llvm-svn: 342854 --- .../function.objects/negators/binary_negate.depr_in_cxx17.fail.cpp | 1 + .../std/utilities/function.objects/negators/not1.depr_in_cxx17.fail.cpp | 1 + .../std/utilities/function.objects/negators/not2.depr_in_cxx17.fail.cpp | 1 + .../function.objects/negators/unary_negate.depr_in_cxx17.fail.cpp | 1 + 4 files changed, 4 insertions(+) (limited to 'libcxx/test/std/utilities') diff --git a/libcxx/test/std/utilities/function.objects/negators/binary_negate.depr_in_cxx17.fail.cpp b/libcxx/test/std/utilities/function.objects/negators/binary_negate.depr_in_cxx17.fail.cpp index 6ad3f7f3117..232c8964ee4 100644 --- a/libcxx/test/std/utilities/function.objects/negators/binary_negate.depr_in_cxx17.fail.cpp +++ b/libcxx/test/std/utilities/function.objects/negators/binary_negate.depr_in_cxx17.fail.cpp @@ -12,6 +12,7 @@ // binary_negate // deprecated in C++17 +// UNSUPPORTED: clang-4.0 // REQUIRES: verify-support // MODULES_DEFINES: _LIBCPP_ENABLE_DEPRECATION_WARNINGS diff --git a/libcxx/test/std/utilities/function.objects/negators/not1.depr_in_cxx17.fail.cpp b/libcxx/test/std/utilities/function.objects/negators/not1.depr_in_cxx17.fail.cpp index a2f7f65b1c4..85c2d0ad94a 100644 --- a/libcxx/test/std/utilities/function.objects/negators/not1.depr_in_cxx17.fail.cpp +++ b/libcxx/test/std/utilities/function.objects/negators/not1.depr_in_cxx17.fail.cpp @@ -12,6 +12,7 @@ // not1 // deprecated in C++17 +// UNSUPPORTED: clang-4.0 // REQUIRES: verify-support // MODULES_DEFINES: _LIBCPP_ENABLE_DEPRECATION_WARNINGS diff --git a/libcxx/test/std/utilities/function.objects/negators/not2.depr_in_cxx17.fail.cpp b/libcxx/test/std/utilities/function.objects/negators/not2.depr_in_cxx17.fail.cpp index a858014596e..c2e51aee3c1 100644 --- a/libcxx/test/std/utilities/function.objects/negators/not2.depr_in_cxx17.fail.cpp +++ b/libcxx/test/std/utilities/function.objects/negators/not2.depr_in_cxx17.fail.cpp @@ -12,6 +12,7 @@ // not2 // deprecated in C++17 +// UNSUPPORTED: clang-4.0 // REQUIRES: verify-support // MODULES_DEFINES: _LIBCPP_ENABLE_DEPRECATION_WARNINGS diff --git a/libcxx/test/std/utilities/function.objects/negators/unary_negate.depr_in_cxx17.fail.cpp b/libcxx/test/std/utilities/function.objects/negators/unary_negate.depr_in_cxx17.fail.cpp index 3df852166fe..a0d559acbd2 100644 --- a/libcxx/test/std/utilities/function.objects/negators/unary_negate.depr_in_cxx17.fail.cpp +++ b/libcxx/test/std/utilities/function.objects/negators/unary_negate.depr_in_cxx17.fail.cpp @@ -12,6 +12,7 @@ // unary_negate // deprecated in C++17 +// UNSUPPORTED: clang-4.0 // REQUIRES: verify-support // MODULES_DEFINES: _LIBCPP_ENABLE_DEPRECATION_WARNINGS -- cgit v1.2.3