[llvm] b9321d4 - [NFC] Format the newly added table for coro.end in coroutines.rst

Chuanqi Xu via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 9 23:25:04 PST 2021


Author: Chuanqi Xu
Date: 2021-12-10T15:24:26+08:00
New Revision: b9321d481a024a8c552ca4ea3efa555be6bf270d

URL: https://github.com/llvm/llvm-project/commit/b9321d481a024a8c552ca4ea3efa555be6bf270d
DIFF: https://github.com/llvm/llvm-project/commit/b9321d481a024a8c552ca4ea3efa555be6bf270d.diff

LOG: [NFC] Format the newly added table for coro.end in coroutines.rst

The intention should be formatted in two lines instead of one.

Added: 
    

Modified: 
    llvm/docs/Coroutines.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/Coroutines.rst b/llvm/docs/Coroutines.rst
index 82f3162103d0..5e6bc233280b 100644
--- a/llvm/docs/Coroutines.rst
+++ b/llvm/docs/Coroutines.rst
@@ -1384,16 +1384,16 @@ the coroutine will already be marked as done by the final suspend.
 
 The following table summarizes the handling of `coro.end`_ intrinsic.
 
-+--------------------------+------------------------+-------------------------------+
-|                          | In Start Function      | In Resume/Destroy Functions   |
-+--------------------------+------------------------+-------------------------------+
-|unwind=false              | nothing                |``ret void``                   |
-+------------+-------------+------------------------+-------------------------------+
-|            | WinEH       | mark coroutine as done |``cleanupret unwind to caller``|
-|            |             |                        |mark coroutine done            |
-|unwind=true +-------------+------------------------+-------------------------------+
-|            | Landingpad  | mark coroutine as done | mark coroutine done           |
-+------------+-------------+------------------------+-------------------------------+
++--------------------------+------------------------+---------------------------------+
+|                          | In Start Function      | In Resume/Destroy Functions     |
++--------------------------+------------------------+---------------------------------+
+|unwind=false              | nothing                |``ret void``                     |
++------------+-------------+------------------------+---------------------------------+
+|            | WinEH       | mark coroutine as done || ``cleanupret unwind to caller``|
+|            |             |                        || mark coroutine done            |
+|unwind=true +-------------+------------------------+---------------------------------+
+|            | Landingpad  | mark coroutine as done | mark coroutine done             |
++------------+-------------+------------------------+---------------------------------+
 
 
 'llvm.coro.end.async' Intrinsic


        


More information about the llvm-commits mailing list