[clang] [CIR] Support CoawaitExpr in emitLValue (PR #232280)

Morris Hafner via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 20 20:24:23 PDT 2026


================
@@ -928,6 +930,29 @@ getCoroutineSuspendExprReturnType(const ASTContext &ctx,
 }
 #endif
 
+LValue CIRGenFunction::emitCoawaitLValue(const CoawaitExpr *e) {
----------------
mmha wrote:

This is identical to `emitCoyieldLValue` except for the kind. Can you merge these two functions together?

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


More information about the cfe-commits mailing list