[llvm] [clang] [Coroutines] Introduce [[clang::coro_only_destroy_when_complete]] (PR #71014)

via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 7 20:20:10 PST 2023


================
@@ -1775,6 +1775,17 @@ CoroCleanup
 This pass runs late to lower all coroutine related intrinsics not replaced by
 earlier passes.
 
+Attributes
+==========
+
+coro_only_destroy_when_done
+---------------------------
+
+When the coroutine are marked with coro_only_destroy_when_done, it indicates
----------------
h-vetinari wrote:

still `_done` not `_complete`

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


More information about the cfe-commits mailing list