mirror of
https://github.com/github/codeql.git
synced 2025-12-21 03:06:31 +01:00
C++: Update synthetic_destructor_call keysets.
Reorder the [ destructor_call, expr ] tuple. Add a [ expr, i ] tuple.
This commit is contained in:
@@ -1061,7 +1061,8 @@ compgenerated(unique int id: @element ref);
|
||||
* destructed in reverse construction order, so for a given `element`
|
||||
* these should be called from highest to lowest `i`.
|
||||
*/
|
||||
#keyset[destructor_call, element]
|
||||
#keyset[element, destructor_call]
|
||||
#keyset[element, i]
|
||||
synthetic_destructor_call(
|
||||
int element: @element ref,
|
||||
int i: int ref,
|
||||
|
||||
Reference in New Issue
Block a user