================ @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits