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 7f83a53 commit 803a309Copy full SHA for 803a309
lib/SILOptimizer/Mandatory/DefiniteInitialization.cpp
@@ -967,7 +967,7 @@ void LifetimeChecker::injectActorHops() {
967
968
AvailabilitySet inSet(outSet.size());
969
auto const &predecessors = block.getPredecessorBlocks();
970
- for (const auto &pred : predecessors)
+ for (auto *pred : predecessors)
971
inSet.mergeIn(getBlockInfo(pred).OutAvailability);
972
973
if (inSet.isAllYes()) {
0 commit comments