[clang] [clang-tools-extra] [Clang] [C2y] Implement N3355 ‘NamedLoops’ (PR #152870)

via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 19 21:57:12 PDT 2025


================
@@ -3282,9 +3282,50 @@ static void CheckJumpOutOfSEHFinally(Sema &S, SourceLocation Loc,
   }
 }
 
-StmtResult
-Sema::ActOnContinueStmt(SourceLocation ContinueLoc, Scope *CurScope) {
-  Scope *S = CurScope->getContinueParent();
+Scope *FindLabeledBreakContinueScope(Sema &S, Scope *CurScope,
+                                     SourceLocation KWLoc, LabelDecl *Target,
+                                     SourceLocation LabelLoc, bool IsBreak) {
----------------
Sirraide wrote:

No that’s just how I ended up writing it; I’ll change it to be more consistent

https://github.com/llvm/llvm-project/pull/152870


More information about the cfe-commits mailing list