Skip to content

Commit 0589be1

Browse files
committed
C++: add qldoc comments for aggregate_{field,array}_init
1 parent 2130622 commit 0589be1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

cpp/ql/src/semmlecode.cpp.dbscheme

+8
Original file line numberDiff line numberDiff line change
@@ -1441,12 +1441,20 @@ new_array_allocated_type(
14411441
int type_id: @type ref
14421442
);
14431443

1444+
/**
1445+
* The field being initialized by an initializer expression within an aggregate
1446+
* initializer for a class/struct/union.
1447+
*/
14441448
aggregate_field_init(
14451449
unique int aggregate: @aggregateliteral ref,
14461450
int initializer: @expr ref,
14471451
int field: @membervariable ref
14481452
);
14491453

1454+
/**
1455+
* The index of the element being initialized by an initializer expression
1456+
* within an aggregate initializer for an array.
1457+
*/
14501458
aggregate_array_init(
14511459
unique int aggregate: @aggregateliteral ref,
14521460
int initializer: @expr ref,

0 commit comments

Comments
 (0)