Skip to content

Commit a76e23b

Browse files
Update test-results for gcc-13 (c++2b) and msvc (c++20) caused by line number changes in cpp2util.h (#1140)
1 parent 2452cf1 commit a76e23b

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed
Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
11
In file included from mixed-bugfix-for-ufcs-non-local.cpp:6:
2-
../../../include/cpp2util.h:1134:1: error: lambda-expression in template parameter type
3-
1134 | [LAMBDADEFCAPT]< \
2+
../../../include/cpp2util.h:1135:1: error: lambda-expression in template parameter type
3+
1135 | [LAMBDADEFCAPT]< \
44
| ^
5-
../../../include/cpp2util.h:1171:59: note: in expansion of macro ‘CPP2_UFCS_’
6-
1171 | #define CPP2_UFCS_NONLOCAL(...) CPP2_UFCS_(,CPP2_UFCS_IDENTITY,CPP2_UFCS_IDENTITY,(),,__VA_ARGS__)
5+
../../../include/cpp2util.h:1172:59: note: in expansion of macro ‘CPP2_UFCS_’
6+
1172 | #define CPP2_UFCS_NONLOCAL(...) CPP2_UFCS_(,CPP2_UFCS_IDENTITY,CPP2_UFCS_IDENTITY,(),,__VA_ARGS__)
77
| ^~~~~~~~~~
88
mixed-bugfix-for-ufcs-non-local.cpp2:13:12: note: in expansion of macro ‘CPP2_UFCS_NONLOCAL’
99
mixed-bugfix-for-ufcs-non-local.cpp2:13:36: error: template argument 1 is invalid
10-
../../../include/cpp2util.h:1134:1: error: lambda-expression in template parameter type
11-
1134 | [LAMBDADEFCAPT]< \
10+
../../../include/cpp2util.h:1135:1: error: lambda-expression in template parameter type
11+
1135 | [LAMBDADEFCAPT]< \
1212
| ^
13-
../../../include/cpp2util.h:1171:59: note: in expansion of macro ‘CPP2_UFCS_’
14-
1171 | #define CPP2_UFCS_NONLOCAL(...) CPP2_UFCS_(,CPP2_UFCS_IDENTITY,CPP2_UFCS_IDENTITY,(),,__VA_ARGS__)
13+
../../../include/cpp2util.h:1172:59: note: in expansion of macro ‘CPP2_UFCS_’
14+
1172 | #define CPP2_UFCS_NONLOCAL(...) CPP2_UFCS_(,CPP2_UFCS_IDENTITY,CPP2_UFCS_IDENTITY,(),,__VA_ARGS__)
1515
| ^~~~~~~~~~
1616
mixed-bugfix-for-ufcs-non-local.cpp2:21:12: note: in expansion of macro ‘CPP2_UFCS_NONLOCAL’
1717
mixed-bugfix-for-ufcs-non-local.cpp2:21:36: error: template argument 1 is invalid
18-
../../../include/cpp2util.h:1134:1: error: lambda-expression in template parameter type
19-
1134 | [LAMBDADEFCAPT]< \
18+
../../../include/cpp2util.h:1135:1: error: lambda-expression in template parameter type
19+
1135 | [LAMBDADEFCAPT]< \
2020
| ^
21-
../../../include/cpp2util.h:1171:59: note: in expansion of macro ‘CPP2_UFCS_’
22-
1171 | #define CPP2_UFCS_NONLOCAL(...) CPP2_UFCS_(,CPP2_UFCS_IDENTITY,CPP2_UFCS_IDENTITY,(),,__VA_ARGS__)
21+
../../../include/cpp2util.h:1172:59: note: in expansion of macro ‘CPP2_UFCS_’
22+
1172 | #define CPP2_UFCS_NONLOCAL(...) CPP2_UFCS_(,CPP2_UFCS_IDENTITY,CPP2_UFCS_IDENTITY,(),,__VA_ARGS__)
2323
| ^~~~~~~~~~
2424
mixed-bugfix-for-ufcs-non-local.cpp2:31:12: note: in expansion of macro ‘CPP2_UFCS_NONLOCAL’
2525
mixed-bugfix-for-ufcs-non-local.cpp2:31:36: error: template argument 1 is invalid
26-
../../../include/cpp2util.h:1134:1: error: lambda-expression in template parameter type
27-
1134 | [LAMBDADEFCAPT]< \
26+
../../../include/cpp2util.h:1135:1: error: lambda-expression in template parameter type
27+
1135 | [LAMBDADEFCAPT]< \
2828
| ^
29-
../../../include/cpp2util.h:1171:59: note: in expansion of macro ‘CPP2_UFCS_’
30-
1171 | #define CPP2_UFCS_NONLOCAL(...) CPP2_UFCS_(,CPP2_UFCS_IDENTITY,CPP2_UFCS_IDENTITY,(),,__VA_ARGS__)
29+
../../../include/cpp2util.h:1172:59: note: in expansion of macro ‘CPP2_UFCS_’
30+
1172 | #define CPP2_UFCS_NONLOCAL(...) CPP2_UFCS_(,CPP2_UFCS_IDENTITY,CPP2_UFCS_IDENTITY,(),,__VA_ARGS__)
3131
| ^~~~~~~~~~
3232
mixed-bugfix-for-ufcs-non-local.cpp2:33:12: note: in expansion of macro ‘CPP2_UFCS_NONLOCAL’
3333
mixed-bugfix-for-ufcs-non-local.cpp2:33:36: error: template argument 1 is invalid
34-
../../../include/cpp2util.h:1134:1: error: lambda-expression in template parameter type
35-
1134 | [LAMBDADEFCAPT]< \
34+
../../../include/cpp2util.h:1135:1: error: lambda-expression in template parameter type
35+
1135 | [LAMBDADEFCAPT]< \
3636
| ^
37-
../../../include/cpp2util.h:1171:59: note: in expansion of macro ‘CPP2_UFCS_’
38-
1171 | #define CPP2_UFCS_NONLOCAL(...) CPP2_UFCS_(,CPP2_UFCS_IDENTITY,CPP2_UFCS_IDENTITY,(),,__VA_ARGS__)
37+
../../../include/cpp2util.h:1172:59: note: in expansion of macro ‘CPP2_UFCS_’
38+
1172 | #define CPP2_UFCS_NONLOCAL(...) CPP2_UFCS_(,CPP2_UFCS_IDENTITY,CPP2_UFCS_IDENTITY,(),,__VA_ARGS__)
3939
| ^~~~~~~~~~
4040
mixed-bugfix-for-ufcs-non-local.cpp2:21:12: note: in expansion of macro ‘CPP2_UFCS_NONLOCAL’
4141
mixed-bugfix-for-ufcs-non-local.cpp2:21:36: error: template argument 1 is invalid

regression-tests/test-results/msvc-2022-c++20/pure2-assert-expected-not-null.cpp.output

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ pure2-assert-expected-not-null.cpp2(7): error C2143: syntax error: missing ';' b
66
pure2-assert-expected-not-null.cpp2(7): error C2143: syntax error: missing ';' before '}'
77
pure2-assert-expected-not-null.cpp2(9): error C2065: 'ex': undeclared identifier
88
pure2-assert-expected-not-null.cpp2(9): error C2672: 'cpp2::impl::assert_not_null': no matching overloaded function found
9-
..\..\..\include\cpp2util.h(638): note: could be 'decltype(auto) cpp2::impl::assert_not_null(_T0 &&)'
9+
..\..\..\include\cpp2util.h(639): note: could be 'decltype(auto) cpp2::impl::assert_not_null(_T0 &&)'
1010
pure2-assert-expected-not-null.cpp2(14): error C2039: 'expected': is not a member of 'std'
1111
predefined C++ types (compiler internal)(347): note: see declaration of 'std'
1212
pure2-assert-expected-not-null.cpp2(14): error C2062: type 'int' unexpected
@@ -19,4 +19,4 @@ pure2-assert-expected-not-null.cpp2(14): note: while trying to match the argumen
1919
pure2-assert-expected-not-null.cpp2(14): error C2143: syntax error: missing ';' before '}'
2020
pure2-assert-expected-not-null.cpp2(15): error C2065: 'ex': undeclared identifier
2121
pure2-assert-expected-not-null.cpp2(15): error C2672: 'cpp2::impl::assert_not_null': no matching overloaded function found
22-
..\..\..\include\cpp2util.h(638): note: could be 'decltype(auto) cpp2::impl::assert_not_null(_T0 &&)'
22+
..\..\..\include\cpp2util.h(639): note: could be 'decltype(auto) cpp2::impl::assert_not_null(_T0 &&)'

0 commit comments

Comments
 (0)