mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #19024 from adrian-prantl/40241256
This commit is contained in:
@@ -1207,6 +1207,7 @@ CompilerInvocation::loadFromSerializedAST(StringRef data) {
|
||||
if (info.status != serialization::Status::Valid)
|
||||
return info.status;
|
||||
|
||||
LangOpts.EffectiveLanguageVersion = info.compatibilityVersion;
|
||||
setTargetTriple(info.targetTriple);
|
||||
if (!extendedInfo.getSDKPath().empty())
|
||||
setSDKPath(extendedInfo.getSDKPath());
|
||||
|
||||
Reference in New Issue
Block a user