Skip to content

Commit b620916

Browse files
authored
[IRGen] Fix diagnostic for CVW disablement through block list (#72624)
rdar://125486631
1 parent e7b6c1d commit b620916

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/IRGen/IRGen.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1408,11 +1408,7 @@ static void performParallelIRGeneration(IRGenDescriptor desc) {
14081408
DidRunSILCodeGenPreparePasses = true;
14091409
}
14101410

1411-
if (!layoutStringsEnabled(*IGM)) {
1412-
auto moduleName = IGM->getSwiftModule()->getRealName().str();
1413-
IGM->Context.Diags.diagnose(SourceLoc(), diag::layout_strings_blocked,
1414-
moduleName);
1415-
}
1411+
(void)layoutStringsEnabled(*IGM, /*diagnose*/ true);
14161412
}
14171413

14181414
if (!IGMcreated) {

0 commit comments

Comments
 (0)