clang_wrap.h: optionally pass VFS to createDiagnostics
commit8d87baa44f25250012b60f267c77850998b05626
authorSven Verdoolaege <sven.verdoolaege@gmail.com>
Sun, 26 Oct 2025 14:46:15 +0000 (26 15:46 +0100)
committerSven Verdoolaege <sven.verdoolaege@gmail.com>
Sat, 22 Nov 2025 14:26:18 +0000 (22 15:26 +0100)
tree3b6c0432c2e34a623e476f0507ddc31aa59bb426
parent851d7f17476f928183600fbc5838ae3dbbd24dc7
clang_wrap.h: optionally pass VFS to createDiagnostics

Since llvmorg-20-init-12950-gbdd10d9d249b ([NFC] Explicitly pass a VFS
when creating DiagnosticsEngine (#115852), Thu Nov 21 12:11:41 2024 +0100),
createDiagnostics takes a VFS argument.
Note that the llvm::vfs namespace does not exist in early versions
of clang, so it is difficult to detect the need for a VFS argument
at compile time.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
interface/include/isl-interface/clang_wrap.h
interface/include/isl-interface/config.h.in
m4/ax_detect_clang.m4