We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4e6479 commit 3aab6fdCopy full SHA for 3aab6fd
lib/Frontend/ParseableInterfaceSupport.cpp
@@ -224,9 +224,8 @@ static bool buildSwiftModuleFromSwiftInterface(
224
<< InPath << " to " << OutPath << "\n");
225
CompilerInstance SubInstance;
226
227
- // FIXME: Temporary: this should forward to the outer Diags somehow.
228
- PrintingDiagnosticConsumer PDC;
229
- SubInstance.addDiagnosticConsumer(&PDC);
+ ForwardingDiagnosticConsumer FDC(Diags);
+ SubInstance.addDiagnosticConsumer(&FDC);
230
231
SubInstance.createDependencyTracker(/*TrackSystemDeps=*/false);
232
if (SubInstance.setup(SubInvocation)) {
0 commit comments