mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
C++: getEnclosingElement-without-macros changenote
This commit is contained in:
@@ -36,3 +36,4 @@
|
||||
* 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.
|
||||
* `Element.getEnclosingElement()` no longer includes macro accesses in its results. To explore parents and children of macro accesses, use the relevant member predicates on `MacroAccess` or `MacroInvocation`.
|
||||
|
||||
Reference in New Issue
Block a user