RFR: 7903610: Missing handling for array fields with inline struct declaration [v2]
    Maurizio Cimadamore 
    mcimadamore at openjdk.org
       
    Thu Dec 14 13:20:21 UTC 2023
    
    
  
> This patch adds a new method in `Utils` which helps visitors to obtain a scoped declaration given a type. This is used whenever the visitor logic needs to recurse on a declared type e.g. in a variable, or a typedef. The current logic only tests for `Type.Declared` and, in doing so, misses some cases, such as arrays and typedefs which point back to a declared type.
Maurizio Cimadamore has updated the pull request incrementally with one additional commit since the last revision:
  Drop spurious test option
-------------
Changes:
  - all: https://git.openjdk.org/jextract/pull/161/files
  - new: https://git.openjdk.org/jextract/pull/161/files/1a13ed97..846d4059
Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jextract&pr=161&range=01
 - incr: https://webrevs.openjdk.org/?repo=jextract&pr=161&range=00-01
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jextract/pull/161.diff
  Fetch: git fetch https://git.openjdk.org/jextract.git pull/161/head:pull/161
PR: https://git.openjdk.org/jextract/pull/161
    
    
More information about the jextract-dev
mailing list