Merge pull request #129 from Semmle/changenote-desig-init

cherry-pick onto rc/1.18: C++: change note for designated intializer fixes
This commit is contained in:
Jonas Jensen
2018-09-03 11:28:20 +02:00
committed by GitHub

View File

@@ -33,4 +33,6 @@
## Changes to QL libraries
* *Series of bullet points*
* Fixes for aggregate initializers using designators:
** `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.
** `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.