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 bf64918 commit 8644eb0Copy full SHA for 8644eb0
llvm/lib/Transforms/Coroutines/CoroSplit.cpp
@@ -652,7 +652,7 @@ void CoroCloner::salvageDebugInfo() {
652
for (DbgDeclareInst *DDI : Worklist) {
653
if (IsUnreachableBlock(DDI->getParent()))
654
DDI->eraseFromParent();
655
- else if (auto *Alloca = dyn_cast_or_null<AllocaInst>(DDI->getAddress())) {
+ else if (dyn_cast_or_null<AllocaInst>(DDI->getAddress())) {
656
// Count all non-debuginfo uses in reachable blocks.
657
unsigned Uses = 0;
658
for (auto *User : DDI->getAddress()->users())
0 commit comments