C++: Update synthetic_destructor_call keysets.

Reorder the [ destructor_call, expr ] tuple.
Add a [ expr, i ] tuple.
This commit is contained in:
Matthew Gretton-Dann
2019-09-24 16:15:01 +01:00
parent 06d1d6ed5d
commit d62730a9f3

View File

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