C++: Add support for the spaceship operator

This commit is contained in:
Matthew Gretton-Dann
2020-03-02 16:19:31 +00:00
parent c5b3df1eb2
commit 06accfe72b
2 changed files with 17 additions and 0 deletions

View File

@@ -1231,6 +1231,7 @@ funbind(
| @ltexpr
| @geexpr
| @leexpr
| @spaceshipexpr
;
@bin_bitwise_op_expr = @lshiftexpr
@@ -1636,6 +1637,7 @@ case @expr.kind of
| 323 = @vec_fill
| 324 = @builtinconvertvector
| 325 = @builtincomplex
| 326 = @spaceshipexpr
;
new_allocated_type(