SerializeLoc: address more comments from Jordan. NFC

This commit is contained in:
Xi Ge
2019-10-09 10:40:29 -07:00
parent adaf790f4c
commit 014f863546
10 changed files with 139 additions and 119 deletions

View File

@@ -1037,7 +1037,8 @@ std::error_code ModuleInterfaceLoader::findModuleFilesInDirectory(
*ModuleBuffer = std::move(*ModuleBufferOrErr);
}
// Open .swiftsourceinfo file if it's present.
SerializedModuleLoaderBase::openModuleSourceInfoFile(ModuleID, ModPath,
SerializedModuleLoaderBase::openModuleSourceInfoFileIfPresent(ModuleID,
ModPath,
ModuleSourceInfoFilename,
ModuleSourceInfoBuffer);
// Delegate back to the serialized module loader to load the module doc.