Skip to content

Commit 26ee654

Browse files
authored
Update stray reference to FileOrErr (#7977)
This will allow compilation to succeed under Linux.
1 parent 9b95a6e commit 26ee654

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Serialization/ModuleManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ bool ModuleManager::lookupModuleFile(StringRef FileName, off_t ExpectedSize,
449449
// On Linux ext4 FileManager's inode caching system does not
450450
// provide us correct behaviour for ModuleCache directories.
451451
// inode can be reused after PCM delete resulting in cache misleading.
452-
File = FileMgr.getBypassFile(*FileOrErr);
452+
File = FileMgr.getBypassFile(*File);
453453
}
454454
#endif
455455

0 commit comments

Comments
 (0)