From 87687a292f18b3365587253b8862521a7d4cca96 Mon Sep 17 00:00:00 2001 From: Xi Ge Date: Wed, 25 Jun 2025 11:35:09 -0700 Subject: [PATCH] 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 --- lib/DriverTool/swift_api_digester_main.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/DriverTool/swift_api_digester_main.cpp b/lib/DriverTool/swift_api_digester_main.cpp index e90269541f93b..3201888446189 100644 --- a/lib/DriverTool/swift_api_digester_main.cpp +++ b/lib/DriverTool/swift_api_digester_main.cpp @@ -2453,8 +2453,6 @@ class SwiftAPIDigesterInvocation { InitInvoke.getLangOptions().EnableObjCInterop = InitInvoke.getLangOptions().Target.isOSDarwin(); InitInvoke.getClangImporterOptions().ModuleCachePath = ModuleCachePath; - // Module recovery issue shouldn't bring down the tool. - InitInvoke.getLangOptions().AllowDeserializingImplementationOnly = true; if (!SwiftVersion.empty()) { using version::Version;