Skip to content

Commit 9f0ae82

Browse files
committed
Minor tweaks fix CI for AppleClang
1 parent 554717f commit 9f0ae82

File tree

11 files changed

+24
-12
lines changed

11 files changed

+24
-12
lines changed

libcxx/test/std/numerics/numeric.ops/numeric.ops.sat/add_sat.compile.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// UNSUPPORTED: c++03, c++11, c++14, c++17, c++20, c++23
9+
// REQUIRES: std-at-least-c++26
1010

1111
// <numeric>
1212

libcxx/test/std/numerics/numeric.ops/numeric.ops.sat/add_sat.pass.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// UNSUPPORTED: c++03, c++11, c++14, c++17, c++20, c++23
9+
// REQUIRES: std-at-least-c++26
10+
11+
// The test uses "Placeholder variables with no name"
12+
// UNSUPPORTED: Apple-Clang-15, Apple-Clang-16
1013

1114
// <numeric>
1215

libcxx/test/std/numerics/numeric.ops/numeric.ops.sat/div_sat.assert.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// UNSUPPORTED: c++03, c++11, c++14, c++17, c++20, c++23
9+
// REQUIRES: std-at-least-c++26
1010

1111
// REQUIRES: has-unix-headers
1212
// REQUIRES: libcpp-hardening-mode={{extensive|debug}}

libcxx/test/std/numerics/numeric.ops/numeric.ops.sat/div_sat.compile.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// UNSUPPORTED: c++03, c++11, c++14, c++17, c++20, c++23
9+
// REQUIRES: std-at-least-c++26
1010

1111
// <numeric>
1212

libcxx/test/std/numerics/numeric.ops/numeric.ops.sat/div_sat.pass.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// UNSUPPORTED: c++03, c++11, c++14, c++17, c++20, c++23
9+
// REQUIRES: std-at-least-c++26
10+
1011
// The test uses "Placeholder variables with no name"
12+
// UNSUPPORTED: Apple-Clang-15, Apple-Clang-16
1113

1214
// <numeric>
1315

libcxx/test/std/numerics/numeric.ops/numeric.ops.sat/mul_sat.compile.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// UNSUPPORTED: c++03, c++11, c++14, c++17, c++20, c++23
9+
// REQUIRES: std-at-least-c++26
1010

1111
// <numeric>
1212

libcxx/test/std/numerics/numeric.ops/numeric.ops.sat/mul_sat.pass.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// UNSUPPORTED: c++03, c++11, c++14, c++17, c++20, c++23
9+
// REQUIRES: std-at-least-c++26
10+
1011
// The test uses "Placeholder variables with no name"
12+
// UNSUPPORTED: Apple-Clang-15, Apple-Clang-16
1113

1214
// <numeric>
1315

libcxx/test/std/numerics/numeric.ops/numeric.ops.sat/saturate_cast.compile.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// UNSUPPORTED: c++03, c++11, c++14, c++17, c++20, c++23
9+
// REQUIRES: std-at-least-c++26
1010

1111
// <numeric>
1212

libcxx/test/std/numerics/numeric.ops/numeric.ops.sat/saturate_cast.pass.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// UNSUPPORTED: c++03, c++11, c++14, c++17, c++20, c++23
9+
// REQUIRES: std-at-least-c++26
10+
11+
// The test uses "Placeholder variables with no name"
12+
// UNSUPPORTED: Apple-Clang-15, Apple-Clang-16
1013

1114
// <numeric>
1215

@@ -298,7 +301,7 @@ constexpr bool test() {
298301
assert(std::saturate_cast<unsigned int>( sBigMin) == 0U); // saturated
299302
assert(std::saturate_cast<unsigned int>( sZero) == 0U);
300303
assert(std::saturate_cast<unsigned int>( sBigMax) == UINT_MAX); // saturated
301-
304+
302305
std::same_as<unsigned int> decltype(auto) _ = std::saturate_cast<unsigned int>(uBigMax);
303306
assert(std::saturate_cast<unsigned int>( uZero) == 0U);
304307
assert(std::saturate_cast<unsigned int>( uBigMax) == UINT_MAX); // saturated

libcxx/test/std/numerics/numeric.ops/numeric.ops.sat/sub_sat.compile.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// UNSUPPORTED: c++03, c++11, c++14, c++17, c++20, c++23
9+
// REQUIRES: std-at-least-c++26
1010

1111
// <numeric>
1212

0 commit comments

Comments
 (0)