[clang] [CIR] Emit promise declaration in coroutine (PR #166683)

via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 10 14:47:56 PST 2025


================
@@ -152,6 +152,9 @@ class CIRGenFunction : public CIRGenTypeCache {
   /// global initializers.
   mlir::Operation *curFn = nullptr;
 
+  /// Save Parameter Decl for coroutine.
+  llvm::SmallVector<const ParmVarDecl *, 4> fnArgs;
----------------
Andres-Salamanca wrote:

Done.

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


More information about the cfe-commits mailing list