Skip to content

Commit b81c80f

Browse files
authored
Update apple-clang-14 tests (#894)
1 parent dc7e10c commit b81c80f

20 files changed

+52
-4
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Bounds safety violation: out of bounds access attempt detected
1+
Bounds safety violation: out of bounds access attempt detected - attempted index 5, [min,max] range is [0,4]

regression-tests/test-results/apple-clang-14/mixed-bugfix-for-ufcs-non-local.cpp.execution

Whitespace-only changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
mixed-captures-in-expressions-and-postconditions.cpp2:12:18: error: no member named 'for_each' in namespace 'std::ranges'
2+
std::ranges::for_each(vec, callback);
3+
~~~~~~~~~~~~~^
4+
mixed-captures-in-expressions-and-postconditions.cpp2:14:18: error: no member named 'for_each' in namespace 'std::ranges'
5+
std::ranges::for_each(std::move(vec), std::move(callback));
6+
~~~~~~~~~~~~~^
7+
2 errors generated.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
mixed-function-expression-and-std-for-each.cpp2:12:18: error: no member named 'for_each' in namespace 'std::ranges'
2+
std::ranges::for_each(
3+
~~~~~~~~~~~~~^
4+
mixed-function-expression-and-std-for-each.cpp2:19:18: error: no member named 'for_each' in namespace 'std::ranges'
5+
std::ranges::for_each(
6+
~~~~~~~~~~~~~^
7+
2 errors generated.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
mixed-function-expression-and-std-ranges-for-each-with-capture.cpp2:13:18: error: no member named 'for_each' in namespace 'std::ranges'
2+
std::ranges::for_each
3+
~~~~~~~~~~~~~^
4+
mixed-function-expression-and-std-ranges-for-each-with-capture.cpp2:17:18: error: no member named 'for_each' in namespace 'std::ranges'
5+
std::ranges::for_each(vec, std::move(callback));
6+
~~~~~~~~~~~~~^
7+
2 errors generated.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
mixed-function-expression-and-std-ranges-for-each.cpp2:12:18: error: no member named 'for_each' in namespace 'std::ranges'
2+
std::ranges::for_each
3+
~~~~~~~~~~~~~^
4+
mixed-function-expression-and-std-ranges-for-each.cpp2:16:18: error: no member named 'for_each' in namespace 'std::ranges'
5+
std::ranges::for_each(vec, std::move(callback));
6+
~~~~~~~~~~~~~^
7+
2 errors generated.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
mixed-function-expression-with-pointer-capture.cpp2:13:18: error: no member named 'for_each' in namespace 'std::ranges'
2+
std::ranges::for_each(vec, [_0 = (&y)](auto const& x) mutable -> void {
3+
~~~~~~~~~~~~~^
4+
mixed-function-expression-with-pointer-capture.cpp2:18:18: error: no member named 'for_each' in namespace 'std::ranges'
5+
std::ranges::for_each(vec, std::move(callback));
6+
~~~~~~~~~~~~~^
7+
2 errors generated.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
mixed-function-expression-with-repeated-capture.cpp2:13:18: error: no member named 'for_each' in namespace 'std::ranges'
2+
std::ranges::for_each
3+
~~~~~~~~~~~~~^
4+
mixed-function-expression-with-repeated-capture.cpp2:17:18: error: no member named 'for_each' in namespace 'std::ranges'
5+
std::ranges::for_each(vec, std::move(callback));
6+
~~~~~~~~~~~~~^
7+
2 errors generated.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
12234
2+
12234

regression-tests/test-results/apple-clang-14/mixed-increment-decrement.cpp.output

Whitespace-only changes.

0 commit comments

Comments
 (0)