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

    <tr>
        <th>Summary</th>
        <td>
            [clang-tidy] cppcoreguidelines-avoid-reference-coroutine-parameters false positives on lamdbas
        </td>
    </tr>

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

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

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

<pre>
    Reproducer: https://godbolt.org/z/68xKvTWff
Check: https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines/avoid-reference-coroutine-parameters.html

Right now the reference coroutine parameter check is too over aggressive in that lambda function parameters that are not coroutines are also checked and reported.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyMkj-PnDwQxj-NaSyQMbALBcW-74om3SlSamMP4DvjQfbA3uXTR7CX3SjXpAF7Rj_Pn-dRMdrRA7Ss-o9V10StNGFoA-q3G9Jr0qP5aF9gCWhWDYEVFz4RLZEVFyY7JrsRTY-OMgwjk91PJrtT_f5t-_5jGJi4MnH5fwL99pXTTvkxc26bP1F4p6B-J1Ky5mO_7HDcD8uiMcC4WgPOethjakNr0gADBPAaUo0BV7Ie0kUFNQNBiNlEs7s3cv--2HEi7vHGaQL-gPkD5g-YH9W5jZwQOW4QuBrHADHaDbj1nCZF3Km5N4oPq9dk0T_xeM-rANwjPQvEI6RcxHsBMFx5wwMsGAhMlpi2ME3RqATa_NTIc1Xmokqmtszzqhia82CELs_awKkpBiMGpUzZ9LpObCuFLEQtC5HLWlaZ1vUghVBGq6KoBbBSwKyse-w9sTGu0J7KJq8Sp3pw8XCClB5u_EgyKXdjhHZn0n4dIyuFs5Hi8xWy5A4L_SFedeVfREv_RTI-KBeBLxgt2Q0iR78v2fQqJmtw7V_-szStfaZxZrLbG_r8pUvAV9DEZHeMsRvmGPNXAAAA___IJAIG">