mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
ModuleLoader: remove several walk-arounds for not having a persistent ClangImporterOptions available. NFC
This commit is contained in:
@@ -2425,9 +2425,8 @@ static int diagnoseModuleChange(StringRef LeftPath, StringRef RightPath,
|
||||
LeftCollector.deSerialize(LeftPath);
|
||||
SwiftDeclCollector RightCollector(Ctx);
|
||||
RightCollector.deSerialize(RightPath);
|
||||
diagnoseModuleChange(Ctx, LeftCollector.getSDKRoot(), RightCollector.getSDKRoot(),
|
||||
OutputPath, std::move(ProtocolReqAllowlist));
|
||||
return options::CompilerStyleDiags && Ctx.getDiags().hadAnyError() ? 1 : 0;
|
||||
return diagnoseModuleChange(Ctx, LeftCollector.getSDKRoot(),
|
||||
RightCollector.getSDKRoot(), OutputPath, std::move(ProtocolReqAllowlist));
|
||||
}
|
||||
|
||||
static void populateAliasChanges(NodeMap &AliasMap, DiffVector &AllItems,
|
||||
|
||||
Reference in New Issue
Block a user