Skip to content

Commit f5363cc

Browse files
Update regression tests for clang-15 on macOS and clang-18 on ubuntu (hsutter#1192)
1 parent a8d70c1 commit f5363cc

10 files changed

+42
-8
lines changed
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../../../include/cpp2util.h(883) decltype(auto) cpp2::impl::assert_in_bounds(auto &&, std::source_location) [arg = 5, x:auto = std::vector<int>]: Bounds safety violation: out of bounds access attempt detected - attempted access at index 5, [min,max] range is [0,4]
1+
../../../include/cpp2util.h(937) decltype(auto) cpp2::impl::assert_in_bounds(auto &&, std::source_location) [arg = 5, x:auto = std::vector<int>]: Bounds safety violation: out of bounds access attempt detected - attempted access at index 5, [min,max] range is [0,4]
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../../../include/cpp2util.h(744) : Bounds safety violation
1+
../../../include/cpp2util.h(749) : Bounds safety violation
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../../../include/cpp2util.h(744) : Contract violation: fill: value must contain at least count elements
1+
../../../include/cpp2util.h(749) : Contract violation: fill: value must contain at least count elements
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
sending error to my framework... [dynamic null dereference attempt detected]
2-
from source location: ../../../include/cpp2util.h(823) decltype(auto) cpp2::impl::assert_not_null(auto &&, std::source_location) [arg:auto = int *&]
2+
from source location: ../../../include/cpp2util.h(828) decltype(auto) cpp2::impl::assert_not_null(auto &&, std::source_location) [arg:auto = int *&]
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../../../include/cpp2util.h(823) decltype(auto) cpp2::impl::assert_not_null(auto &&, std::source_location) [arg:auto = std::expected<int, bool>]: Null safety violation: std::expected has an unexpected value
1+
../../../include/cpp2util.h(828) decltype(auto) cpp2::impl::assert_not_null(auto &&, std::source_location) [arg:auto = std::expected<int, bool>]: Null safety violation: std::expected has an unexpected value
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../../../include/cpp2util.h(823) decltype(auto) cpp2::impl::assert_not_null(auto &&, std::source_location) [arg:auto = std::optional<int>]: Null safety violation: std::optional does not contain a value
1+
../../../include/cpp2util.h(828) decltype(auto) cpp2::impl::assert_not_null(auto &&, std::source_location) [arg:auto = std::optional<int>]: Null safety violation: std::optional does not contain a value
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../../../include/cpp2util.h(823) decltype(auto) cpp2::impl::assert_not_null(auto &&, std::source_location) [arg:auto = std::shared_ptr<int>]: Null safety violation: std::shared_ptr is empty
1+
../../../include/cpp2util.h(828) decltype(auto) cpp2::impl::assert_not_null(auto &&, std::source_location) [arg:auto = std::shared_ptr<int>]: Null safety violation: std::shared_ptr is empty
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../../../include/cpp2util.h(823) decltype(auto) cpp2::impl::assert_not_null(auto &&, std::source_location) [arg:auto = std::unique_ptr<int> &]: Null safety violation: std::unique_ptr is empty
1+
../../../include/cpp2util.h(828) decltype(auto) cpp2::impl::assert_not_null(auto &&, std::source_location) [arg:auto = std::unique_ptr<int> &]: Null safety violation: std::unique_ptr is empty
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
hello world!
2+
hello world!
3+
Come in, Frodo
4+
Come in, Sam
5+
Come in awhile, but take some biscuits on your way out, Frodo!
6+
Come in awhile, but take some biscuits on your way out, Sam!
7+
fg_out initialized gandalf to: A Powerful Mage
8+
pg_out initialized galadriel to: A Powerful Mage
9+
I hear you've moving, Frodo?
10+
I hear you've moving, Sam?
11+
Inout Gandalf ... fh_forward returned: Gandalf
12+
Inout Galadriel ... ph_forward returned: Galadriel
13+
Inout Galadriel ... ph_forward2 returned: Galadriel
14+
In Gandalf ... fh_out returned: yohoho
15+
In Galadriel ... ph_out returned: yohoho
16+
43
17+
44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
hello world!
2+
hello world!
3+
Come in, Frodo
4+
Come in, Sam
5+
Come in awhile, but take some biscuits on your way out, Frodo!
6+
Come in awhile, but take some biscuits on your way out, Sam!
7+
fg_out initialized gandalf to: A Powerful Mage
8+
pg_out initialized galadriel to: A Powerful Mage
9+
I hear you've moving, Frodo?
10+
I hear you've moving, Sam?
11+
Inout Gandalf ... fh_forward returned: Gandalf
12+
Inout Galadriel ... ph_forward returned: Galadriel
13+
Inout Galadriel ... ph_forward2 returned: Galadriel
14+
In Gandalf ... fh_out returned: yohoho
15+
In Galadriel ... ph_out returned: yohoho
16+
43
17+
44

0 commit comments

Comments
 (0)