RFR: Make attributes mutable [v2]

Maurizio Cimadamore mcimadamore at openjdk.org
Wed Nov 29 18:34:13 UTC 2023


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

Maurizio Cimadamore has updated the pull request incrementally with one additional commit since the last revision:

  Drop unused line

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

Changes:
  - all: https://git.openjdk.org/jextract/pull/146/files
  - new: https://git.openjdk.org/jextract/pull/146/files/20ee3604..a02f1e7c

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jextract&pr=146&range=01
 - incr: https://webrevs.openjdk.org/?repo=jextract&pr=146&range=00-01

  Stats: 2 lines in 1 file changed: 0 ins; 2 del; 0 mod
  Patch: https://git.openjdk.org/jextract/pull/146.diff
  Fetch: git fetch https://git.openjdk.org/jextract.git pull/146/head:pull/146

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


More information about the jextract-dev mailing list