Skip to content

Commit 18dc1d0

Browse files
authored
Merge pull request #129 from Semmle/changenote-desig-init
cherry-pick onto rc/1.18: C++: change note for designated intializer fixes
2 parents 759d986 + f6e5be0 commit 18dc1d0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

change-notes/1.18/analysis-cpp.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,6 @@
3333

3434
## Changes to QL libraries
3535

36-
* *Series of bullet points*
36+
* Fixes for aggregate initializers using designators:
37+
** `ClassAggregateLiteral.getFieldExpr()` previously assumed initializer expressions appeared in the same order as the declaration order of the fields, causing it to associate the expressions with the wrong fields when using designated initializers. This has been fixed.
38+
** `ArrayAggregateLiteral.getElementExpr()` previously assumed initializer expressions appeared in the same order as the corresponding array elements, causing it to associate the expressions with the wrong array elements when using designated initializers. This has been fixed.

0 commit comments

Comments
 (0)