mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Serialization] Add -swift-compiler-version option to swiftmodules
This commit is contained in:
@@ -1035,6 +1035,7 @@ LoadedFile *SerializedModuleLoaderBase::loadAST(
|
||||
M.setPackageName(Ctx.getIdentifier(loadedModuleFile->getModulePackageName()));
|
||||
}
|
||||
M.setUserModuleVersion(loadedModuleFile->getUserModuleVersion());
|
||||
M.setSwiftCompilerVersion(loadedModuleFile->getSwiftCompilerVersion());
|
||||
for (auto name: loadedModuleFile->getAllowableClientNames()) {
|
||||
M.addAllowableClientName(Ctx.getIdentifier(name));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user