[clang] [CIR] Upstream support co_return of values from co_await (PR #173174)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 12 16:49:38 PST 2026


================
@@ -737,7 +722,21 @@ void AggExprEmitter::VisitLambdaExpr(LambdaExpr *e) {
 
 void AggExprEmitter::VisitExprWithCleanups(ExprWithCleanups *e) {
   CIRGenFunction::RunCleanupsScope cleanups(cgf);
-  Visit(e->getSubExpr());
+  auto &builder = cgf.getBuilder();
+  auto scopeLoc = cgf.getLoc(e->getSourceRange());
----------------
andykaylor wrote:

No auto here

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


More information about the cfe-commits mailing list