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

    <tr>
        <th>Summary</th>
        <td>
            clang-tidy : Segmentation fault : cppcoreguidelines-owning-memory
        </td>
    </tr>

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

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

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

<pre>
    Have built the latest clang from commit c45466cd9a51fe384d2b31e124b77d14c821eb70

When runnig clang-tidy the is a Segmentation fault

Attached a file with the backtrace

Disabling cppcoreguidelines-owning-memory in the clang-tidy checkers file there is no Segmentation fault

[clang-tidy_segmentation_fault.txt](https://github.com/llvm/llvm-project/files/13190186/clang-tidy_segmentation_fault.txt)

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUkr2O5CoQhZ8GJ6hbUAb_BA561LJufoMNR4DLNjsYWlCe2Xn7Vbu1mg5WGm1iS6jq1HdOlSnFLxFxYPqF6WtldlpTHiaM0ZdkMS-VTdPn8J95R253H4jTijwYwkLcBRMXPue0cZe2zRN3SqumcVNvtJyx7tQEtpYoQdm2naRyHUi0rWDiysTl8f2xYuR5j9EvD8UT-enzmOMLN_x_XDaMZMinyGezB3ruvhAZt-LEDZ99QP7haT16rXFvlI3D5-qrL8YGHxfubjeXMi67nzD4iOWUPqKPy2nDLeVP7uOh8gTkVnRvmMtjDq2YD8CYviFk-uVL5bU81b4etWf6RUxfGXQr0a2w-sJgZDAuntbdnl3aGIwhvP_5nW45_URHDMY7SWEwylr2QnYNg_H7UdA_uKppqKe-7k2Fg2z6TslOSVmtg7SoQbXtrEHrdgbRCait062xwkHjKj-AgFoKaKXSdS3PjYXeyBZxFhaVrZkSuBkfznfec8pL5UvZcWiFakQVjMVQjpMD-OJlAPcTzMNh0u5LYUoEX6h8yZCngMPTUlh9-Uv8x_M3G672HIZ_TvzwcY_8sPI7AAD__9CHEpI">