Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion opencl_clang.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,8 @@ Compile(const char *pszProgramSource, const char **pInputHeaders,
new llvm::vfs::InMemoryFileSystem);
OverlayFS->pushOverlay(MemFS);

compiler->createFileManager(std::move(OverlayFS));
compiler->setVirtualFileSystem(std::move(OverlayFS));
compiler->createFileManager();
compiler->createSourceManager(compiler->getFileManager());

// Create compiler invocation from user args before trickering with it
Expand Down
Loading