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

    <tr>
        <th>Summary</th>
        <td>
            Backport fix for #109367 to the 19.x branch
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clangd,
            clang-tidy,
            release:backport
      </td>
    </tr>

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

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

<pre>
    I would like to propose backporting https://github.com/llvm/llvm-project/pull/111282 (which fixes https://github.com/llvm/llvm-project/issues/109367) to the 19.x branch.

This is a clang-tidy regression in llvm-19 which is causing fairly widely reported clangd crashes (example reports: https://github.com/llvm/llvm-project/issues/109037, https://github.com/llvm/llvm-project/issues/109367, https://github.com/clangd/clangd/issues/2173, https://github.com/clangd/clangd/issues/2151).
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJysUsGO4yoQ_Bp8aY0FjRnbBw6ZRNF79_0BbHdsdoixAE-Sv18RT2b3sFpplb3YNFDVXUWZGO04E2mm3pg6FGZNkw_6PztOe38-m3mgUBWdH276f7j41Q3g7DtB8rAEv_hI0Jn-ffEh2XmEKaUlMrljeGR4HG2a1q7s_Znh0bmPx-9lCf479YnhcVmdY3gUQmCDwLC5TLaf4GSvFP-ezca4Usx8vJWvNcM2D5omAtGWV-iCmfupZPzA-G77fptsBBvBQO_MPL4kO9wg0BgoRutnsDPce4gWtslshN6sMYs9GRvcDS52IJdB2QQaNqIB-mDiRDFroqs5L44-r2RFz0njsma4_wf2_JFj0_Hr4guPopbPoJVg2JbFoOXQytYUpEWNDSqlUBWT7kkZbKgRteC84l2jyLS5Ej1ylLKwGjlWgvNXRNVUqhRSNAYr2fNTVQ-8ZRWns7GuzA6UPozFvbsWQkhRF8505OI984iPAZHh_lHec_C1FciRicTk7pH1fKQORdB3h7t1jKzizsYUf3ZMNjnSb5-IHGk4-QAM5Wb_b6JZrMHpJ551U_eh8UcAAAD__8u0Oeo">