Skip to content

Commit e55dc43

Browse files
committed
CPP: Consistency changes suggested by Dave.
1 parent b1bf1b8 commit e55dc43

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

cpp/ql/src/semmlecode.cpp.dbscheme

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1497,8 +1497,9 @@ new_array_allocated_type(
14971497
* The field being initialized by an initializer expression within an aggregate
14981498
* initializer for a class/struct/union.
14991499
*/
1500+
#keyset[aggregate, field]
15001501
aggregate_field_init(
1501-
unique int aggregate: @aggregateliteral ref,
1502+
int aggregate: @aggregateliteral ref,
15021503
int initializer: @expr ref,
15031504
int field: @membervariable ref
15041505
);
@@ -1507,8 +1508,9 @@ aggregate_field_init(
15071508
* The index of the element being initialized by an initializer expression
15081509
* within an aggregate initializer for an array.
15091510
*/
1511+
#keyset[aggregate, element_index]
15101512
aggregate_array_init(
1511-
unique int aggregate: @aggregateliteral ref,
1513+
int aggregate: @aggregateliteral ref,
15121514
int initializer: @expr ref,
15131515
int element_index: int ref
15141516
);

0 commit comments

Comments
 (0)