Try to suppress nodiscard_extension failures with Xcode 9
See https://crbug.com/949509 for the error message. llvm-svn: 357692
This commit is contained in:
parent
dfaafbcf4c
commit
ea3f97d278
|
@ -12,6 +12,10 @@
|
||||||
// GCC versions prior to 7.0 don't provide the required [[nodiscard]] attribute.
|
// GCC versions prior to 7.0 don't provide the required [[nodiscard]] attribute.
|
||||||
// UNSUPPORTED: gcc-4, gcc-5, gcc-6
|
// UNSUPPORTED: gcc-4, gcc-5, gcc-6
|
||||||
|
|
||||||
|
// AppleClang9 doesn't yet support C++17's implicitly synthesized deduction
|
||||||
|
// guides from existing ctors, needed by default_searcher() below.
|
||||||
|
// UNSUPPORTED: apple-clang-9
|
||||||
|
|
||||||
// Test that entities declared [[nodiscard]] as at extension by libc++, are
|
// Test that entities declared [[nodiscard]] as at extension by libc++, are
|
||||||
// only actually declared such when _LIBCPP_ENABLE_NODISCARD is specified.
|
// only actually declared such when _LIBCPP_ENABLE_NODISCARD is specified.
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,10 @@
|
||||||
// This test intentionally leaks memory, so it is unsupported under ASAN.
|
// This test intentionally leaks memory, so it is unsupported under ASAN.
|
||||||
// UNSUPPORTED: asan
|
// UNSUPPORTED: asan
|
||||||
|
|
||||||
|
// AppleClang9 doesn't yet support C++17's implicitly synthesized deduction
|
||||||
|
// guides from existing ctors, needed by default_searcher() below.
|
||||||
|
// UNSUPPORTED: apple-clang-9
|
||||||
|
|
||||||
// All entities to which libc++ applies [[nodiscard]] as an extension should
|
// All entities to which libc++ applies [[nodiscard]] as an extension should
|
||||||
// be tested here and in nodiscard_extensions.fail.cpp. They should also
|
// be tested here and in nodiscard_extensions.fail.cpp. They should also
|
||||||
// be listed in `UsingLibcxx.rst` in the documentation for the extension.
|
// be listed in `UsingLibcxx.rst` in the documentation for the extension.
|
||||||
|
|
Loading…
Reference in New Issue