Skip to content

Commit

Permalink
Fix build on older llvm vers
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanradanov committed Feb 22, 2024
1 parent 63ac323 commit 65eb9bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enzyme/Enzyme/Clang/EnzymeClang.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class EnzymePlugin final : public clang::ASTConsumer {
std::to_string(ENZYME_VERSION_PATCH));
CI.getPreprocessor().setPredefines(Predefines.str());

auto baseFS = CI.getFileManager().getVirtualFileSystemPtr();
auto baseFS = &CI.getFileManager().getVirtualFileSystem();
llvm::vfs::OverlayFileSystem *fuseFS(
new llvm::vfs::OverlayFileSystem(baseFS));
IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> fs(
Expand Down

0 comments on commit 65eb9bf

Please sign in to comment.