Author: Timm Bäder Date: 2024-07-30T12:42:04+02:00 New Revision: 803db1f5254047b08b6887c52009d4e72e67a673
URL: https://github.com/llvm/llvm-project/commit/803db1f5254047b08b6887c52009d4e72e67a673 DIFF: https://github.com/llvm/llvm-project/commit/803db1f5254047b08b6887c52009d4e72e67a673.diff LOG: [clang][Interp][NFC] Add missing fallthrough when parsing While loops Added: Modified: clang/lib/AST/Interp/Compiler.cpp Removed: ################################################################################ diff --git a/clang/lib/AST/Interp/Compiler.cpp b/clang/lib/AST/Interp/Compiler.cpp index c07c1062f68a1..258e4ed645254 100644 --- a/clang/lib/AST/Interp/Compiler.cpp +++ b/clang/lib/AST/Interp/Compiler.cpp @@ -4373,6 +4373,7 @@ bool Compiler<Emitter>::visitWhileStmt(const WhileStmt *S) { if (!this->jump(CondLabel)) return false; + this->fallthrough(EndLabel); this->emitLabel(EndLabel); return true; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits