mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 10:00:16 +02:00
hunkgen: satisfy the clang 22 ComplierInstance VFS invariant.
This commit is contained in:
1 parent
e869aa644a
commit
167d79f0fa
1 file changed
+3
@@ -812,6 +812,9 @@ bool GenerateThunkLibsActionFactory::runInvocation(std::shared_ptr<clang::Compil
|
||||
#else
|
||||
clang::CompilerInstance Compiler(std::move(PCHContainerOps));
|
||||
Compiler.setInvocation(std::move(Invocation));
|
||||
#endif
|
||||
#if LLVM_VERSION_MAJOR >= 22
|
||||
Compiler.setVirtualFileSystem(Files->getVirtualFileSystemPtr());
|
||||
#endif
|
||||
Compiler.setFileManager(Files);
|
||||
|
||||
|
||||
Reference in new issue
Block a user