Skip to content

Commit df3f4ff

Browse files
Update regression tests after recent changes (#1208)
Signed-off-by: Herb Sutter <herb.sutter@gmail.com> Co-authored-by: Herb Sutter <herb.sutter@gmail.com>
1 parent 0975248 commit df3f4ff

27 files changed

+103
-32
lines changed

regression-tests/test-results/apple-clang-14-c++2b/pure2-enum.cpp.execution

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
x.to_string() is clubs
22
x2.to_string() is clubs
3+
x3.to_string() is hearts
4+
x3.to_code() is skat_game::hearts
5+
x4.to_string() is hearts
36
with if else: clubs
47
with inspect: clubs
58

@@ -27,3 +30,7 @@ f is (f2) is false
2730
f2 is (f ) is false
2831
(f & f2) == f2 is true
2932
inspecting f: includes all f2's flags ('cached' and 'current')
33+
f_from_string is (cached, current, cached_and_current)
34+
f_from_string is (current, obsolete)
35+
f_from_string.to_code() is (file_attributes::current | file_attributes::obsolete)
36+
f_from_string is (cached, obsolete)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
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]
1+
../../../include/cpp2util.h(964) 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]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../../../include/cpp2util.h(749) : Bounds safety violation
1+
../../../include/cpp2util.h(776) : Bounds safety violation
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../../../include/cpp2util.h(749) : Contract violation: fill: value must contain at least count elements
1+
../../../include/cpp2util.h(776) : 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(828) decltype(auto) cpp2::impl::assert_not_null(auto &&, std::source_location) [arg:auto = int *&]
2+
from source location: ../../../include/cpp2util.h(855) decltype(auto) cpp2::impl::assert_not_null(auto &&, std::source_location) [arg:auto = int *&]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
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
1+
../../../include/cpp2util.h(855) 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
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
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
1+
../../../include/cpp2util.h(855) 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
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
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
1+
../../../include/cpp2util.h(855) 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
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
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
1+
../../../include/cpp2util.h(855) 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

regression-tests/test-results/apple-clang-15-c++2b/pure2-enum.cpp.execution

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
x.to_string() is clubs
22
x2.to_string() is clubs
3+
x3.to_string() is hearts
4+
x3.to_code() is skat_game::hearts
5+
x4.to_string() is hearts
36
with if else: clubs
47
with inspect: clubs
58

@@ -27,3 +30,7 @@ f is (f2) is false
2730
f2 is (f ) is false
2831
(f & f2) == f2 is true
2932
inspecting f: includes all f2's flags ('cached' and 'current')
33+
f_from_string is (cached, current, cached_and_current)
34+
f_from_string is (current, obsolete)
35+
f_from_string.to_code() is (file_attributes::current | file_attributes::obsolete)
36+
f_from_string is (cached, obsolete)

0 commit comments

Comments
 (0)