<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/108730>108730</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Question about attrbutes and C++20 coroutines
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          kelbon
      </td>
    </tr>
</table>

<pre>
    As i understand, now all attributes like [[pure]] [[always_inline]] [[flatten]] [[cold]] [[hot]] etc when applied to coroutine function applied to implicit function which return coroutine, not to coroutine itself

So, my question is how to, for example, apply [[flatten]] to coroutine::resume function? Is it possible?



</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxsUk2P2jAQ_TXOxVpkbELCwQdYFKnHqj-g8sdApuvYqT1eyr-vCFQsUi9jeZ7n-c3TM6XgOQJo1h5Ye2xMpTFl_QHBptjY5K96XzjyGj3kQiZ6Jt95TBduQuCGKKOtBIUH_AC-kBzmmoG1R9YeHw0TLuZafmIMGF-RUzBEEF96LgX_0hgTPe5Ajl9GiNzMc0DwnBJ3KadKGIGfanSE6QXFaQ7okJ7gZUQ38gxUc3wO37eiV0KkAuHExJGJ_b3-SLeH05X_rlAWOix8TBdOC3BKmcMfM81hIbzpuP5306_fMLVnap-h1Om5A1MD_1Y4Ep9TKWgDMDV8VXKvjdfK79TONKDXndyqru_6vhl1K9VGWuFlJ3e977awdr0xolXGW-tg06CWQm7Ebt2KVu02_cpJ1XvZb1XXbZ3dOrYRMBkMqxA-p1XK5wZLqaDXou-UaIKxEMoSGykjXPiCMilvKcr6NvRm67mwjQhYqDxpCCmA_v7PQGNTpSVJ9yCZ6Pk7kwcmD1I8XSpNzUGPRHO5GSYHJocz0ljtyqWJyeHG_zje5px-gSMmh0VVYXJ4yP7U8m8AAAD__6N-8pw">