<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=http://email.email.llvm.org/c/eJy9VFFv2zgM_jX2C2HDlhMnefBDl7S4AzpcgW59ly061ipbhiQ37f36UYqddEPvMGDABMOSSIr89JFUrcVbFTG2j4qbaL1_MPpoeA93UqGl_WfZGG116-BJ2okreHSTkJo0LGOMpp7LgaanPf2-aK38oXv10tNUB02j-HBMnBRvKb4iRQKDo9FpM46QJE2HzbONigMpei3QDPJfTCaLyTApNTpD8ig7RNnNw_3tzeMt2KnupQMO9XT0nrRx4DR0zo3WX4Hd0Uc6mypCkWpzpD3wQYAcGjUJBNchNIbbDmrePDvDG0zPIR4dCUBM_eg9BVGWQhgLL9wcpx4H52PBlbYPmPtf8q78XSlcWHxH5JXLC52_zujHdIZbRazIIHvN8nLTbtYZ_KHkU0hR-IAztwHAnQcQsS3twih3MC_zbOWXq02R7Q8B76rY3mbFNmK7-R7hf3__9Nl78DVwKYF32ffmSz4BgvULGiv1AHmRZmm2qP4ZneyJMEHFJZVIF_kBWz4pqjPKPjqfeVluy2RskpMchD7ZpLcvzWL9l7YO9g9fvZ19flP8Gd-j_Ttimx4mK4djKEXneUNy3nEHtpOjhZN03U-Usz1h8kbSAldWn1M-m3o3um1lI-mAQYXcLiV9rQx_cADsR_cGLSV4cUnNdJJKnR0CccKHs8Hs4YsPKa2dEIRGC4N2s-0l9mu5ujCq28utZgefNJl9WIyhLTtJ6H6QBjgNJ9G1V9NYVIXYFTse88l12lTELBpE0dvWxZNR1Y9PwJHATXXa6H4uhnlKCPk3bBxtw6UsLdbFZrONu2q7a_m2xRILvkFsd1jmTSvWu6IsGGOCxYrXqGwVrT9F60P8-yFl5RspY3nOsiIvypSv2hoLViLmWbnKMVplSE2mLo9ZbKrg0r9wpFTSuutLF3Nr5XFAXBA66RRW1yaE12155pMSeepw-I-8hDfEVwwOvFYo0jgArwLq7-av-ys>53778</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            clang-tidy x86 crashes when modernize-use-nullptr check is enabled.
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

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

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

<pre>
    "C:\Program Files\Microsoft Visual Studio\2022\main\VC\Tools\Llvm\bin\clang-tidy.exe" repro.cpp --checks="modernize-use-nullptr"
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
Stack dump:
0.      Program arguments: "C:\\Program Files\\Microsoft Visual Studio\\2022\\main\\VC\\Tools\\Llvm\\bin\\clang-tidy.exe" repro.cpp --checks=modernize-use-nullptr
#0 0x0167f750 C:\Program Files\Microsoft Visual Studio\2022\main\VC\Tools\Llvm\bin\clang-tidy.exe 0xd3f750
0x0167F750 (0x00000069 0x00000104 0x04730CD0 0x0438E038)

LLVM (http://llvm.org/):
  LLVM version 13.0.0
  Optimized build.
  Default target: i686-pc-windows-msvc
  Host CPU: skylake

I'm using the toolset that ships with Visual Studio, but this also repros with the official release.
repro.cpp is an empty file, but it will repro on any file.
This issue does not repro with the x64 version of the tool.
Both modernize-use-nullptr and hicpp-use-nullptr will cause the crash.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy9VF1v6zYM_TX2C2FD_oiTPPihN2mxAb1Ygd71XbboWKtsGZLctPv1oxQ76R26YU8zDMsiKfLwkFSjxUcd5fkhKu6izeHJ6JPhAzxIhZb232VrtNWdgxdpZ67g2c1CatLkLM9pGbgcaXk50OeH1sofelRvAy1N0LSKj6fESfGR4jtSJDA4GZ220wRJ0vbYvtqoOJJi0ALNKP_EZLaYjLNSkzMkj9gxYndPj_d3z_dg52aQDjg088l70saB09A7N1mfQv5AL-lsqghFqs2J9sBHAXJs1SwQXI_QGm57aHj76gxvMb2EeHYkADEPk_cURCyF8Ky8cHOaBxydjwU32r5g7l_Ju_F3o3Bl8RORNy6vdP53Rr-mM2QV5QUD9s6yatttNwz-p-JTSFH4gAu3AcCDBxDlO9qFp9rD8pux0v-W24IdjgFvWezuWbGL8v2SR_g-Pr589x58D1xb4FP1vflaT4Bg_YbGSj1CVqQsZavqt8nJgQgT1FxSiXSVH7Hjs6I-o-qj85WX1a5KpjY5y1Hos00G-9au1r9o6-Dw9Lu3s68fir_iZ7S_Rvl2gNnK8RRa0XnekJz33IHt5WThLF3_N8rzA2HyRtICV1ZfSr6Yeje662Qr6YBBhdyuLX3rDH9wBBwm9wEdFXh1ScN0lkpdHAJxwseLweLhhw8prZ0RhEYLo3aL7TX2e1VeGdXdNavFwTdNZl82YxjLXhK6n6QBTstJdJvVNBZ1IfbFnsdOOoX1rbPgfVddjAjducfxH4KFwfA04MgbhSKNZ6Pqny-OE6U0N2mrh6WFliWhfP_A1tE2UGHpZ1Nst7u4rxteshJ5nuVMYC6ybbspRNOKQmzLjBf7WPEGla2jzbdoc4xl7YeH5RnZF1lRpbzsGizyCjFjVZlhVDKkwVLXCyw2dcDgbzVSKmnd7XaLubXyNCKu_vnsem1qajw0iGKwnYsD5joA_gshJeV6">