mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Use .swiftmodule instead of .sm for serialized modules.
We can bikeshed on this later, but for now we can use a very explicit extension that has no chance of stepping on any existing extension. Swift SVN r5239
This commit is contained in:
@@ -52,7 +52,8 @@ SerializedModuleLoader::~SerializedModuleLoader() = default;
|
||||
static llvm::error_code findModule(ASTContext &ctx, AccessPathElem moduleID,
|
||||
llvm::OwningPtr<llvm::MemoryBuffer> &buffer){
|
||||
llvm::SmallString<64> moduleFilename(moduleID.first.str());
|
||||
moduleFilename += ".sm";
|
||||
moduleFilename += '.';
|
||||
moduleFilename += SERIALIZED_MODULE_EXTENSION;
|
||||
|
||||
llvm::SmallString<128> inputFilename;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user