Integrated: 7903680: Dependency checker doesn't handle function pointers and nested types
Maurizio Cimadamore
mcimadamore at openjdk.org
Thu Feb 22 15:23: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.
This pull request has now been integrated.
Changeset: 7a6714ec
Author: Maurizio Cimadamore <mcimadamore at openjdk.org>
URL: https://git.openjdk.org/jextract/commit/7a6714ec7f4a3774985067b55fb49e3470ad1784
Stats: 154 lines in 3 files changed: 145 ins; 0 del; 9 mod
7903680: Dependency checker doesn't handle function pointers and nested types
Reviewed-by: jvernee
-------------
PR: https://git.openjdk.org/jextract/pull/224
More information about the jextract-dev
mailing list