Skip to content

Commit

Permalink
Allow for changing the modulemap name to match the overlay.
Browse files Browse the repository at this point in the history
Fixes #14964
  • Loading branch information
vgvassilev authored and jenkins committed Mar 25, 2024
1 parent abeda74 commit 3750135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Interpreter/CIFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ namespace {
cling::log() << "'" << systemLoc << "' does not exist. Mounting '"
<< originalLoc.str() << "' as '" << systemLoc << "'\n";

if (!HSOpts.ImplicitModuleMaps && !llvm::sys::fs::exists(systemLoc.str())) {
if (!HSOpts.ImplicitModuleMaps) {
modulemapFilename = Filename;
llvm::sys::path::remove_filename(systemLoc);
llvm::sys::path::append(systemLoc, modulemapFilename);
Expand Down

0 comments on commit 3750135

Please sign in to comment.