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

    <tr>
        <th>Summary</th>
        <td>
            clang-tidy crash with bugprone-unchecked-optional-access
        </td>
    </tr>

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

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

    <tr>
      <th>Reporter</th>
      <td>
          t-b
      </td>
    </tr>
</table>

<pre>
    Version: 17.0.6
OS: Debian Linux

clang-tidy crashed and told me to report a bug. I'm attaching the stackdump 
[stack-dump-clang-tidy.txt](https://github.com/llvm/llvm-project/files/13527791/stack-dump-clang-tidy.txt).



</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUkc-K3DAMh5_GuZgEW07iycGHWYZAodBDoXf_0STueuIQK-3u25fMtEwp9LAXCX4H6ZM-W0qcFkTDuhfWXSq705w3Q7WrXA7v5htuJeaFqTOXuhFNz8SFifOXr0dyQRftwj_HZX975I_qk12mmmJ4536zZcbA7RI45RT4DTllvuGaN-KWu31q-CcG-sYtkfVzXCZOM_JC1r-G_bby35O7l3tUH1n93NDQG7HuwuA0E62FqTODkcE4RZp31_h8YzCm9ONPq9ctf0dPDMZrTFgYjFJ1oPUgGYz_XwFD8_eJj1oFo8KgBluhkVrItpXQt9VsNLRS90p30F-d1mHorXAKXXBO-NNwraIBAUqCkLJVreybATpl_aBdi3iyClgr8GZjag7oJm9TFUvZ0ehWnFSVrMNU7tIAnqQM4JC4mfulbp8Ka0WKhcpzDEVKaP5VxH9Gmg8b65YXrPfFz-hfMdR5pZgXm2rrPZZS7VsyH_70Hf149Z3-VwAAAP__3yzHZA">