From 3e9b0f58067e00abe7df5a6e52e28aa607257eeb Mon Sep 17 00:00:00 2001 From: Wenju He Date: Mon, 6 Oct 2025 03:20:14 +0200 Subject: [PATCH] Fix compiler->createSourceManager build `FileManager` parameter is removed in https://github.com/llvm/llvm-project/commit/b86ddae --- opencl_clang.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opencl_clang.cpp b/opencl_clang.cpp index b495551..7d0db0d 100644 --- a/opencl_clang.cpp +++ b/opencl_clang.cpp @@ -237,7 +237,7 @@ Compile(const char *pszProgramSource, const char **pInputHeaders, compiler->setVirtualFileSystem(std::move(OverlayFS)); compiler->createFileManager(); - compiler->createSourceManager(compiler->getFileManager()); + compiler->createSourceManager(); // Create compiler invocation from user args before trickering with it clang::CompilerInvocation::CreateFromArgs(compiler->getInvocation(),