RFR: 7903680: Dependency checker doesn't handle function pointers and nested types

Jorn Vernee jvernee at openjdk.org
Thu Feb 22 15:12:07 UTC 2024


On Thu, 22 Feb 2024 10:44:44 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> This patch fixes few issues in the new dependency checker. As usual, the new visitor was skipping a bunch of cases, which resulted in errors not being reported:
> * if a variable, function parameter/return, typedef had function pointer type, we did not propagate the visit to the function type
> * if there's nested declarations in a typedef, function, variable, we also did not propagate.
> 
> I added the required propagation, and a new test which checks that errors are generated in these cornery situations.

Marked as reviewed by jvernee (Committer).

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

PR Review: https://git.openjdk.org/jextract/pull/224#pullrequestreview-1896107879


More information about the jextract-dev mailing list