[clang] [Clang][LLVM][Coroutines] Prevent __coro_gro from outliving __promise (PR #66706)

Chuanqi Xu via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 20 18:59:52 PDT 2023


================
@@ -104,3 +105,5 @@ invoker g() {
   // CHECK: call void @_ZN7invoker15invoker_promise17get_return_objectEv({{.*}} %[[AggRes]]
   co_return;
 }
+
+// CHECK: ![[OutFrameMetadata]] = !{}
----------------
ChuanqiXu9 wrote:

nit: no newline

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


More information about the cfe-commits mailing list