mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user