[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:11 PST 2023
================
@@ -318,6 +318,9 @@ def MustProgress : EnumAttr<"mustprogress", [FnAttr]>;
/// Function is a presplit coroutine.
def PresplitCoroutine : EnumAttr<"presplitcoroutine", [FnAttr]>;
+/// The coroutine would only be destroyed when it is done.
+def CoroDestroyOnlyWhenComplete : EnumAttr<"coro_only_destroy_when_done", [FnAttr]>;
----------------
h-vetinari wrote:
still `_done` not `_complete`
https://github.com/llvm/llvm-project/pull/71014
More information about the cfe-commits
mailing list