mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
SerializeLoc: address Jordan's previous code review comments
This commit is contained in:
@@ -267,10 +267,10 @@ std::error_code SerializedModuleLoaderBase::openModuleDocFile(
|
||||
|
||||
void
|
||||
SerializedModuleLoaderBase::openModuleSourceInfoFileIfPresent(
|
||||
AccessPathElem ModuleID,
|
||||
StringRef ModulePath,
|
||||
StringRef ModuleSourceInfoFilename,
|
||||
std::unique_ptr<llvm::MemoryBuffer> *ModuleSourceInfoBuffer) {
|
||||
AccessPathElem ModuleID,
|
||||
StringRef ModulePath,
|
||||
StringRef ModuleSourceInfoFilename,
|
||||
std::unique_ptr<llvm::MemoryBuffer> *ModuleSourceInfoBuffer) {
|
||||
if (!ModuleSourceInfoBuffer)
|
||||
return;
|
||||
llvm::vfs::FileSystem &FS = *Ctx.SourceMgr.getFileSystem();
|
||||
|
||||
Reference in New Issue
Block a user