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 42ce245 commit 4cddd97Copy full SHA for 4cddd97
llvm/include/llvm/IR/DebugInfoMetadata.h
@@ -2563,12 +2563,11 @@ class DISubprogram : public DILocalScope {
2563
FuncImportedEntityT &&FuncIE, FuncUnknownT &&FuncUnknown) {
2564
if (const auto *LV = dyn_cast<DILocalVariable>(N))
2565
return FuncLV(LV);
2566
- else if (const auto *L = dyn_cast<DILabel>(N))
+ if (const auto *L = dyn_cast<DILabel>(N))
2567
return FuncLabel(L);
2568
- else if (const auto *IE = dyn_cast<DIImportedEntity>(N))
+ if (const auto *IE = dyn_cast<DIImportedEntity>(N))
2569
return FuncIE(IE);
2570
- else
2571
- return FuncUnknown(N);
+ return FuncUnknown(N);
2572
}
2573
2574
/// Returns the scope of subprogram's retainedNodes.
0 commit comments