Skip to content

Commit 7a50aff

Browse files
committed
fix
1 parent 08dc9ec commit 7a50aff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/forwardanalyzer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ namespace {
144144
// If we are in a loop then jump to the end
145145
if (out)
146146
*out = loopEnds.back();
147-
} else if (Token::Match(tok, "return|throw")) {
147+
} else if (Token::Match(tok, "return|co_return|throw")) {
148148
traverseRecursive(tok->astOperand2(), f, traverseUnknown);
149149
traverseRecursive(tok->astOperand1(), f, traverseUnknown);
150150
return Break(Analyzer::Terminate::Escape);

0 commit comments

Comments
 (0)