[ModuleInterface] Fix silencing errors mode in swiftinterface rebuild

Make sure we disable forwarding diagnostics from the underlying instance
when building a swiftinterface in silencing errors mode.
This commit is contained in:
Alexis Laferrière
2022-11-08 08:28:59 -08:00
parent f184504d62
commit 4a582806dc
5 changed files with 9 additions and 3 deletions

View File

@@ -523,6 +523,7 @@ public:
StringRef interfacePath,
StringRef outputPath,
SourceLoc diagLoc,
bool silenceErrors,
llvm::function_ref<std::error_code(SubCompilerInstanceInfo&)> action) override;
~InterfaceSubContextDelegateImpl() = default;