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 коммит произвёл GitHub
Родитель 759d98661c f6e5be0af8
Коммит 18dc1d0af0
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -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.