C++: Add block assignment expression to the database schema

These can under some circumstances be generated by the frontend as part
of compiler generated copy constructors and assignment operators.
This commit is contained in:
Jeroen Ketema
2022-08-11 16:39:50 +02:00
parent e1b1657cdd
commit ebf8161f1b
4 changed files with 45 additions and 13 deletions

View File

@@ -1302,7 +1302,7 @@ funbind(
@assign_op_expr = @assign_arith_expr | @assign_bitwise_expr
@assign_expr = @assignexpr | @assign_op_expr
@assign_expr = @assignexpr | @assign_op_expr | @blockassignexpr
/*
case @allocator.form of
@@ -1660,6 +1660,7 @@ case @expr.kind of
| 332 = @hasuniqueobjectrepresentations
| 333 = @builtinbitcast
| 334 = @builtinshuffle
| 335 = @blockassignexpr
;
@var_args_expr = @vastartexpr