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

Athijegannathan Sundararajan sundar at openjdk.org
Tue Jun 25 15:21:48 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:

  avoid Path in ParsingFailedException.

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

Changes:
  - all: https://git.openjdk.org/jextract/pull/251/files
  - new: https://git.openjdk.org/jextract/pull/251/files/ba2104f1..5575e8f2

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

  Stats: 6 lines in 1 file changed: 0 ins; 5 del; 1 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