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

    <tr>
        <th>Summary</th>
        <td>
            [clang-tidy] [coroutines] Stop using `-fcoroutines-ts` in clang-tidy's test
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang-tidy
      </td>
    </tr>

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

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

<pre>
    I'm trying to remove `-fcoroutines-ts` in clang. But I met problems in the test of clang-tidy. In clang-tidy/checkers/readability/identifier-naming.cpp, it uses `-std=c++17 -fcoroutines-ts`. But when I replace the combination with `-std=c++20`, it tells me it can't recognize `co_await` anymore.  Then the test log shows:

```
'-std=c++17', '-fcoroutines-ts', '-I/disk2/workspace.xuchuanqi/llvm-project-for-work/clang-tools-extra/test/clang-tidy/checkers/readability/Inputs/identifier-naming', '-isystem', '/disk2/workspace.xuchuanqi/llvm-project-for-work/clang-tools-extra/test/clang-tidy/checkers/readability/Inputs/identifier-naming/system', '-std=c++11', '-nostdinc++'
```

Here is a `-std=c++11` in the ending place so the `-std=c++20` option doesn't work. I don't know how to move on. Could any one who is familiar with clang-tidy remove the use of `-fcoroutines-ts` in clang-tidy?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzMVM-PszYQ_WvMZRRkTCDhwKG7K9Sc20NvlTEDuGs81DYfX_rXV4Z8myi7anusFKF4Hj_ezHtvpPd6sIg1K15Y8ZbIJYzk6tdxkfZP_dtSJS111_rCxGmC4K7aDhAIHE70DYGV_NArcrQEbdEfgmclB21BGWmHFF6WABeYMMDsqDU4-QiGESGgD0D9fuMh6O6awsU-HJlo1IjqHZ1nonEoO9lqo0MEdIc26F6jO1g5aTukap6ZeAUdYPHoN14-dCx_U0y8MPGSneAz0Z3fOqKFCzicjVS4kVM0tdrKoMnCqsP4-X2Cs5LfvhjQGA8Txv9KWiZOARwqGqz-axuRot_lKnWIs5H2OpHDFODX-N2PURgawI-0epb_xPgb4z-uJb_99qM4PTfGxCkSichTh3fgwkTTaf8umGhWcu9-lgrT74vaZWaiMebbdJgd_YEqHHpyh3hb1GAXhMj4A34PTjLRRMJ36F-0uth5iVw-i_bAT_urDzjdK_9Pvs0zzSctsgfEkg-dtjcoAl_quV1_RoegPcgvjJvdEhWdgraL-duN6mmrfW1NoHlzb0fod0fG-aRwgY7287ulFUZaY5q3LJNN4ZUW00WPAlmEdaTIqpeTNlq6PQr3Kf5YApHF4jGm-Z_3wT77vEm6Ou-qvJIJ1ll5Ks9lLooiGWs8l0V_rHjb57nIBFdc9VUuT4pX4ljhOdG14CLnQnCeC14UaVYV5yzvjlXWthlvO3bkOElt0uiPlNyQaO8XrEt-Lo-JkS0av606IR7tIOLqc_VmqnYZPDtyo33w99cEHcy2JB8eK94gFj7ajYVfAs2w-CjTfxmGOPkt_8niTD2GMG_5Fw0TzaDDuLSpoulm9yfXR4vG3qJXt_b-DgAA__8jSdzZ">