mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Serialization] Minor style clean up in SDKName logic
This commit is contained in:
@@ -149,8 +149,8 @@ Status ModuleFile::associateWithFileContext(FileUnit *file, SourceLoc diagLoc,
|
||||
return error(status);
|
||||
}
|
||||
|
||||
auto clientSDK = ctx.LangOpts.SDKName;
|
||||
StringRef moduleSDK = Core->SDKName;
|
||||
StringRef clientSDK = ctx.LangOpts.SDKName;
|
||||
if (ctx.SearchPathOpts.EnableSameSDKCheck &&
|
||||
!moduleSDK.empty() && !clientSDK.empty() &&
|
||||
moduleSDK != clientSDK) {
|
||||
|
||||
Reference in New Issue
Block a user