Skip to content

Commit b4d9429

Browse files
committed
Rename local variable.
1 parent 11c1f0f commit b4d9429

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/FrontendTool/FrontendTool.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1600,8 +1600,8 @@ createDispatchingDiagnosticConsumerIfNeeded(
16001600

16011601
inputsAndOutputs.forEachInputProducingSupplementaryOutput(
16021602
[&](const InputFile &input) -> bool {
1603-
if (auto subconsumer = maybeCreateConsumerForDiagnosticsFrom(input))
1604-
subconsumers.emplace_back(input.file(), std::move(subconsumer));
1603+
if (auto consumer = maybeCreateConsumerForDiagnosticsFrom(input))
1604+
subconsumers.emplace_back(input.file(), std::move(consumer));
16051605
return false;
16061606
});
16071607
// For batch mode, the compiler must swallow diagnostics pertaining to

0 commit comments

Comments
 (0)