RFR: 7903758: jextract should avoid temporary file creation [v5]

Athijegannathan Sundararajan sundar at openjdk.org
Tue Jun 25 14:25:56 UTC 2024


> 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

Athijegannathan Sundararajan has updated the pull request incrementally with one additional commit since the last revision:

  removed unused Parser.parse overload as suggested in review

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

Changes:
  - all: https://git.openjdk.org/jextract/pull/251/files
  - new: https://git.openjdk.org/jextract/pull/251/files/267c889d..76709f6e

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jextract&pr=251&range=04
 - incr: https://webrevs.openjdk.org/?repo=jextract&pr=251&range=03-04

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

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


More information about the jextract-dev mailing list