File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
regression-tests/test-results Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
2
- cppfront compiler v0.2.1 Build 8812:1231
2
+ cppfront compiler v0.2.1 Build 8812:1658
3
3
Copyright(c) Herb Sutter All rights reserved
4
4
5
5
SPDX-License-Identifier: CC-BY-NC-ND-4.0
Original file line number Diff line number Diff line change 1
- "8812:1231 "
1
+ "8812:1658 "
Original file line number Diff line number Diff line change @@ -1392,8 +1392,9 @@ class sema
1392
1392
if (n.has_name (" operator<=>" )) {
1393
1393
auto return_name = n.unnamed_return_type_to_string ();
1394
1394
if (
1395
- return_name.find (" strong_ordering" ) == return_name.npos
1396
- && return_name.find (" weak_ordering" ) == return_name.npos
1395
+ return_name != " _"
1396
+ && return_name.find (" strong_ordering" ) == return_name.npos
1397
+ && return_name.find (" weak_ordering" ) == return_name.npos
1397
1398
&& return_name.find (" partial_ordering" ) == return_name.npos
1398
1399
)
1399
1400
{
You can’t perform that action at this time.
0 commit comments