Skip to content

Commit 803db1f

Browse files
committed
[clang][Interp][NFC] Add missing fallthrough when parsing While loops
1 parent d90fa61 commit 803db1f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/AST/Interp/Compiler.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4373,6 +4373,7 @@ bool Compiler<Emitter>::visitWhileStmt(const WhileStmt *S) {
43734373

43744374
if (!this->jump(CondLabel))
43754375
return false;
4376+
this->fallthrough(EndLabel);
43764377
this->emitLabel(EndLabel);
43774378

43784379
return true;

0 commit comments

Comments
 (0)