
Libc++'s policy is to support only the latest released Xcode, which is Xcode 16.x. We did update our CI jobs to Xcode 16.x, but we forgot to update the documentation, which still mentioned Xcode 15. This patch updates the documentation and cleans up outdated mentions of apple-clang-15 in the test suite.
32 lines
1005 B
C++
32 lines
1005 B
C++
//===----------------------------------------------------------------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// We don't know how to vectorize algorithms on GCC
|
|
// XFAIL: gcc
|
|
|
|
// XFAIL: FROZEN-CXX03-HEADERS-FIXME
|
|
|
|
// We don't vectorize algorithms before C++14
|
|
// XFAIL: c++03, c++11
|
|
|
|
// We don't vectorize algorithms on AIX right now.
|
|
// XFAIL: target={{.+}}-aix{{.*}}
|
|
|
|
// This test ensures that we enable the vectorization of algorithms on the expected
|
|
// platforms.
|
|
|
|
#include <algorithm>
|
|
|
|
#ifndef _LIBCPP_VECTORIZE_ALGORITHMS
|
|
# error It looks like the test needs to be updated since _LIBCPP_VECTORIZE_ALGORITHMS isn't defined anymore
|
|
#endif
|
|
|
|
#if !_LIBCPP_VECTORIZE_ALGORITHMS
|
|
# error Algorithms should be vectorized on this platform
|
|
#endif
|