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 11c1f0f commit b4d9429Copy full SHA for b4d9429
lib/FrontendTool/FrontendTool.cpp
@@ -1600,8 +1600,8 @@ createDispatchingDiagnosticConsumerIfNeeded(
1600
1601
inputsAndOutputs.forEachInputProducingSupplementaryOutput(
1602
[&](const InputFile &input) -> bool {
1603
- if (auto subconsumer = maybeCreateConsumerForDiagnosticsFrom(input))
1604
- subconsumers.emplace_back(input.file(), std::move(subconsumer));
+ if (auto consumer = maybeCreateConsumerForDiagnosticsFrom(input))
+ subconsumers.emplace_back(input.file(), std::move(consumer));
1605
return false;
1606
});
1607
// For batch mode, the compiler must swallow diagnostics pertaining to
0 commit comments