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
This commit is contained in:
Xi Ge
2025-06-25 11:35:09 -07:00
parent e180d8bb38
commit 87687a292f

View File

@@ -2453,8 +2453,6 @@ public:
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;