Skip to content

Commit cc909b7

Browse files
committed
[Serialization] Minor style clean up in SDKName logic
1 parent 5c2122a commit cc909b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Serialization/ModuleFile.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ Status ModuleFile::associateWithFileContext(FileUnit *file, SourceLoc diagLoc,
149149
return error(status);
150150
}
151151

152-
auto clientSDK = ctx.LangOpts.SDKName;
153152
StringRef moduleSDK = Core->SDKName;
153+
StringRef clientSDK = ctx.LangOpts.SDKName;
154154
if (ctx.SearchPathOpts.EnableSameSDKCheck &&
155155
!moduleSDK.empty() && !clientSDK.empty() &&
156156
moduleSDK != clientSDK) {

0 commit comments

Comments
 (0)