mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
SerializeLoc: ensure we can load serialized source locations when we are importing a module from a Swift interface file
This commit is contained in:
@@ -79,7 +79,7 @@ protected:
|
||||
std::error_code
|
||||
openModuleFiles(AccessPathElem ModuleID,
|
||||
StringRef ModulePath, StringRef ModuleDocPath,
|
||||
StringRef ModuleSourceInfoPath,
|
||||
StringRef ModuleSourceInfoName,
|
||||
std::unique_ptr<llvm::MemoryBuffer> *ModuleBuffer,
|
||||
std::unique_ptr<llvm::MemoryBuffer> *ModuleDocBuffer,
|
||||
std::unique_ptr<llvm::MemoryBuffer> *ModuleSourceInfoBuffer);
|
||||
@@ -92,7 +92,7 @@ protected:
|
||||
std::error_code
|
||||
openModuleSourceInfoFile(AccessPathElem ModuleID,
|
||||
StringRef ModulePath,
|
||||
StringRef ModuleSourceInfoPath,
|
||||
StringRef ModuleSourceInfoFileName,
|
||||
std::unique_ptr<llvm::MemoryBuffer> *ModuleSourceInfoBuffer);
|
||||
|
||||
/// If the module loader subclass knows that all options have been tried for
|
||||
|
||||
Reference in New Issue
Block a user