[Serialization] Add -swift-compiler-version option to swiftmodules

This commit is contained in:
Pavel Yaskevich
2024-10-23 17:10:44 -07:00
parent 39fb638516
commit ab4d8f61eb
12 changed files with 78 additions and 5 deletions

View File

@@ -1409,3 +1409,7 @@ StringRef SerializedASTFile::getExportedModuleName() const {
StringRef SerializedASTFile::getPublicModuleName() const {
return File.getPublicModuleName();
}
llvm::VersionTuple SerializedASTFile::getSwiftCompilerVersion() const {
return File.getSwiftCompilerVersion();
}