You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bugfix for missing semaphore in typed template parameters. (hsutter#918)
* Bugfix for missing semaphore in typed template parameters.
* Output of unnamed type param name for typed template arguments.
* Name clash for unamed template arguments.
* Missing name generation of unamed template types in tempalte parameter list.
* Update of test results.
* Update for failing tests.
---------
Signed-off-by: Herb Sutter <[email protected]>
Co-authored-by: Herb Sutter <[email protected]>
Copy file name to clipboardExpand all lines: regression-tests/test-results/mixed-bugfix-for-ufcs-non-local.cpp
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -34,15 +34,15 @@ namespace ns {
34
34
35
35
// Variables.
36
36
37
-
template<t<CPP2_UFCS_NONLOCAL(f)(o)> _> boolinlineconstexpr v0 = false;// Fails on GCC ([GCC109781][]) and Clang 12 (a lambda expression cannot appear in this context)
37
+
template<t<CPP2_UFCS_NONLOCAL(f)(o)> UnnamedTypeParam1_13_6> boolinlineconstexpr v0 = false;// Fails on GCC ([GCC109781][]) and Clang 12 (a lambda expression cannot appear in this context)
38
38
39
39
t<CPP2_UFCS_NONLOCAL(f)(o)> inlineconstexpr v1 = t<true>();// Fails on Clang 12 (lambda in unevaluated context).
template<t<CPP2_UFCS_NONLOCAL(f)(o)> _> using a = bool;// Fails on GCC ([GCC109781][]) and Clang 12 (a lambda expression cannot appear in this context)
55
+
template<t<CPP2_UFCS_NONLOCAL(f)(o)> UnnamedTypeParam1_31_5> using a = bool;// Fails on GCC ([GCC109781][]) and Clang 12 (a lambda expression cannot appear in this context)
56
56
57
-
template<t<CPP2_UFCS_NONLOCAL(f)(o)> _> autoinlineconstexpr b = false;// Fails on GCC ([GCC109781][]).
57
+
template<t<CPP2_UFCS_NONLOCAL(f)(o)> UnnamedTypeParam1_33_5> autoinlineconstexpr b = false;// Fails on GCC ([GCC109781][]).
58
58
59
59
using c = t<CPP2_UFCS_NONLOCAL(f)(o)>;// Fails on Clang 12 (lambda in unevaluated context) and Clang 12 (a lambda expression cannot appear in this context)
60
60
@@ -81,7 +81,7 @@ auto main() -> int;
81
81
namespacens {
82
82
83
83
#line 21 "mixed-bugfix-for-ufcs-non-local.cpp2"
84
-
template<t<CPP2_UFCS_NONLOCAL(f)(o)> _> autog() -> void{}// Fails on GCC ([GCC109781][]) and Clang 12 (a lambda expression cannot appear in this context)
84
+
template<t<CPP2_UFCS_NONLOCAL(f)(o)> UnnamedTypeParam1_21_5> autog() -> void{}// Fails on GCC ([GCC109781][]) and Clang 12 (a lambda expression cannot appear in this context)
85
85
86
86
#line 23 "mixed-bugfix-for-ufcs-non-local.cpp2"
87
87
autog([[maybe_unused]] cpp2::in<t<CPP2_UFCS_NONLOCAL(f)(o)>> unnamed_param_1) -> void{}// Fails on Clang 12 (lambda in unevaluated context).
0 commit comments