Integrated: Make attributes mutable

Maurizio Cimadamore mcimadamore at openjdk.org
Thu Nov 30 19:08:49 UTC 2023


On Wed, 29 Nov 2023 18:15:23 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> This PR makes the attribute list associated with a declaration (and a type) mutable. This means that we can now tweak a declaration/type after the fact. While the declaration/type is still immutable, the information attached to it can grow over time. This should be useful to reduce coupling between different steps in the extraction process. I plan to use this to simplify the way we deal with name mangling.

This pull request has now been integrated.

Changeset: 1353b42d
Author:    Maurizio Cimadamore <mcimadamore at openjdk.org>
URL:       https://git.openjdk.org/jextract/commit/1353b42d740190d5af90004e5148eaf06d722da9
Stats:     378 lines in 11 files changed: 165 ins; 190 del; 23 mod

Make attributes mutable

Reviewed-by: jvernee

-------------

PR: https://git.openjdk.org/jextract/pull/146


More information about the jextract-dev mailing list