[clang] [coroutines] Introduce [[clang::coro_return_type]] and [[clang::coro_wrapper]] (PR #71945)

Utkarsh Saxena via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 15 22:03:36 PST 2023


================
@@ -7482,3 +7482,54 @@ generation of the other destruction cases, optimizing the above `foo.destroy` to
 
   }];
 }
+
+
+def CoroReturnTypeAndWrapperDoc : Documentation {
+  let Category = DocCatDecl;
+  let Content = [{
+The ``coro_return_type`` attribute should be marked on a C++ class to mark it as
----------------
usx95 wrote:

Fixed in another suggestion. Thanks.

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


More information about the cfe-commits mailing list