================
@@ -118,6 +127,29 @@ static void createCoroData(CIRGenFunction &cgf,
   curCoro.data->coroId = coroId;
 }
 
+static mlir::LogicalResult
+emitBodyAndFallthrough(CIRGenFunction &cgf, const CoroutineBodyStmt &s,
+                       Stmt *body,
+                       const CIRGenFunction::LexicalScope *currLexScope) {
+  if (cgf.emitStmt(body, /*useCurrentScope=*/true).failed())
+    return mlir::failure();
+  // Note that LLVM checks CanFallthrough by looking into the availability
----------------
andykaylor wrote:

```suggestion
  // Note that classic codegen checks CanFallthrough by looking into the 
availability
```

https://github.com/llvm/llvm-project/pull/171755
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to