Integrated: 7903758: jextract should avoid temporary file creation

Athijegannathan Sundararajan sundar at openjdk.org
Tue Jun 25 15:30:26 UTC 2024


On Tue, 25 Jun 2024 11:16:44 GMT, Athijegannathan Sundararajan <sundar at openjdk.org> wrote:

> jextract creates a temporary file to support multiple headers and special header syntax <foo.h>. This patch avoids that temporary file creation by using clang's in-memory parsing API clang_createTranslationUnitFromSourceFile

This pull request has now been integrated.

Changeset: 26dee164
Author:    Athijegannathan Sundararajan <sundar at openjdk.org>
URL:       https://git.openjdk.org/jextract/commit/26dee164ede28e02b398147871e410b2d854c0f6
Stats:     2245 lines in 8 files changed: 1313 ins; 73 del; 859 mod

7903758: jextract should avoid temporary file creation

Reviewed-by: jvernee

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

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


More information about the jextract-dev mailing list