Skip to content

Commit 5c530ea

Browse files
committed
ABI checker: drop usage of AllowDeserializingImplementationOnly
AllowDeserializingImplementationOnly was historically added as a defensive check against deserailzation issues introduced by @implementationOnly imports. It's no longer specified by other tools, thus the ABI checker should drop it as well. rdar://153683760
1 parent 705b1a6 commit 5c530ea

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/DriverTool/swift_api_digester_main.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2457,8 +2457,6 @@ class SwiftAPIDigesterInvocation {
24572457
InitInvoke.getLangOptions().EnableObjCInterop =
24582458
InitInvoke.getLangOptions().Target.isOSDarwin();
24592459
InitInvoke.getClangImporterOptions().ModuleCachePath = ModuleCachePath;
2460-
// Module recovery issue shouldn't bring down the tool.
2461-
InitInvoke.getLangOptions().AllowDeserializingImplementationOnly = true;
24622460

24632461
if (!SwiftVersion.empty()) {
24642462
using version::Version;

0 commit comments

Comments
 (0)