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 94763c8 commit c907650Copy full SHA for c907650
lib/SIL/Verifier/FlowSensitiveVerifier.cpp
@@ -349,7 +349,7 @@ void swift::silverifier::verifyFlowSensitiveRules(SILFunction *F) {
349
state.handleScopeEndingInst(i);
350
} else if (!state.Stack.empty() && op == state.Stack.back()) {
351
state.Stack.pop_back();
352
- if (beginInst && isa<BeginApplyInst>(beginInst))
+ if (llvm::isa_and_present<BeginApplyInst>(beginInst))
353
354
} else {
355
verificationFailure(
0 commit comments