Skip to content

Commit c2830d3

Browse files
authored
Fix compiler->createSourceManager build (#581)
`FileManager` parameter is removed in llvm/llvm-project@b86ddae
1 parent 65157c2 commit c2830d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opencl_clang.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ Compile(const char *pszProgramSource, const char **pInputHeaders,
237237

238238
compiler->setVirtualFileSystem(std::move(OverlayFS));
239239
compiler->createFileManager();
240-
compiler->createSourceManager(compiler->getFileManager());
240+
compiler->createSourceManager();
241241

242242
// Create compiler invocation from user args before trickering with it
243243
clang::CompilerInvocation::CreateFromArgs(compiler->getInvocation(),

0 commit comments

Comments
 (0)