<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=http://email.email.llvm.org/c/eJy1mG1v2zYQxz-N_YawwQdRol74RdqkQLF0K5Zhw14VFEXZWmXJEKm12affnZ0mOaLDwCwzBJuU9f_xjscTH5qpvd-tSr6SBXODHfeb2Lf3W__Vsw_vtzdjnO8_Tv0Yt-50Yht38O5zWKnr49T6eez_8psl-E2cbT_0oJ19XOZxE-9Pnm02bBNiCw-7lXwDl6iwHX694lcP31C9XOfqVQh-jv00sg5wHpRX7NaGuP2p64KPbKXeAox9q8kSLviRIdroGdgwhh7lgdm29S2blsimjk0zmAqPreRb1gGXAeVqpd-G2cH3MPx5_HSy7rPd-09CcbGZnXq4vznN0x_eRaieuwZv9w18v7GhR_F1b_fjFGLvsHuwAegFz0RdXDz6eHtzdXfDwtIc-8gsa5Y9m_1pmiOLEzvEeApoi3wHF_wXttjqdpr3UGd2bFk_umFpwbmDZ2624cAaMBVcdX57aeIuwg3WLscTks63-JadPx_naT_bI7Pzfjn6MWJb35yH6_b21w-XUtOPl8L_PwDOBooHAyGgfupW6oad7AyxZzYyD15D0DBQl4chwooz_pXDp-q6UiktVKcx8ubBmQdPLm5QH6BV_lWoAhUrWT8hxROykZWSwhjxDPlbP7bTlwClu_sQ_VFJKC5ujo0NftsOwxlcoYpgZYKVRr8AiyqCVQm2kKXPx6KKYIsUK0r9AiyoCFan2KJ7QSegimBLMgpqbZwpckZBZVBBkFWCrGtV5yFRQZAmRVotM5GgIMiaILkxyqkMpG9Q8EjEwc8TotDeZhFRQIji1YkyIUrRmiwiCghRUaK0ToocokYBIRYJUUGOZRFRQIiaEmso6ByiQwEhlqmNbdnl2QgCQqzSyEiRF2sUEKJ59cjUrx0ZyV87MlK8dmQkyRmptahcjo3KoIAQVUKEqclnEVFAiEVCLCTPeecqgwJCpDlTS1eanPejqDQqCDKZa4pa8SYLWaGCIJO5RjZNlTcxaFQQpEkdt21OIqLjoCBImjfgRFvmOV6i4jkyWb2Blb7IGUJoJSgIUiRIX5o8KzUqCFKmVroy10pXUitV0pcquy9V2pdFYmUrjcuzEhUEmWQP91XTZiEVKgiSZk9Xw3o1y8rWoYIgSfbAipP7JivHuxoVBGkSK6sy62UJVqKCIGn2dJXpmqwlamtR8RxZJNnTlbXnOUgjUUGQNHusqHWRteo1BSoIUqZWmjpnAkcrQUGQSfZ02lZVHhIVBJlkT2dkkTPhAhIVBKmTvtS2zHoFmwIVBEmyBxaxMAZyBhE-Tng0dbSuGp4zgmBLgwqCfJY6jTTWVVw9N_G7O7wfbn7-8eZWye317e3DmwNUBFs_x9bKy_Kfds-_3_1y8-GMHSPsGB93jRolj8z3w-D3dmD9GOK8ODwcSk6e1u1OtbCFs2u7xMM078Jh9p9FweV6mYcdPaLZ9_GwNFs3HaGCRzUPP4_nRPJdH8LiAxQ0xJGvD7tG1HVVwBIZ-r3ywjSN5I32sHWANtparAfb-CHsVvrNSsrRf2FnBJ5X6ev1f7eg30kuJRfS8EpURbnVtjYFzgOCy4rXblVwf7T98Hj2tJ53ZyQeSMGfQx_i08HU2obQ70fvzwaDhbGPw7nyNHLgNvty8CNbAs6g8t-PiuAh1rO9j8zZ0fkBVf13Yifl-uze7uzb3_s6sJs>53460</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang-tidy] when use "modernize-use-trailing-return-type" i get cancel "illegal instruction"
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
shrek1402
</td>
</tr>
</table>
<pre>
`$ clang-tidy.exe MI.EntryPoint.cpp -checks=modernize-use-trailing-return-type -- -std=c++17`
```
Assertion failed: Last.Offset <= Offset && "state transitions added out of order", file C:\src\llvm_package_1301-rc3\llvm-project\clang\lib\Basic\Diagnostic.cpp, line 194
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
Stack dump:
0. Program arguments: C:\\LLVM\\bin\\clang-tidy.exe MI.EntryPoint.cpp -checks=modernize-use-trailing-return-type -- -std=c++17
1. <eof> parser at end of file
#0 0x00007ff633513f56 (C:\LLVM\bin\clang-tidy.exe+0x1343f56)
#1 0x00007ffb27321881 (C:\Windows\System32\ucrtbase.dll+0x71881)
#2 0x00007ffb27322851 (C:\Windows\System32\ucrtbase.dll+0x72851)
#3 0x00007ffb2732426e (C:\Windows\System32\ucrtbase.dll+0x7426e)
#4 0x00007ffb27324165 (C:\Windows\System32\ucrtbase.dll+0x74165)
#5 0x00007ffb273244f1 (C:\Windows\System32\ucrtbase.dll+0x744f1)
#6 0x00007ff633958c84 (C:\LLVM\bin\clang-tidy.exe+0x1788c84)
#7 0x00007ff633959939 (C:\LLVM\bin\clang-tidy.exe+0x1789939)
#8 0x00007ff633959a52 (C:\LLVM\bin\clang-tidy.exe+0x1789a52)
#9 0x00007ff6330883c3 (C:\LLVM\bin\clang-tidy.exe+0xeb83c3)
#10 0x00007ff6330815ea (C:\LLVM\bin\clang-tidy.exe+0xeb15ea)
#11 0x00007ff6330815ea (C:\LLVM\bin\clang-tidy.exe+0xeb15ea)
#12 0x00007ff6330821d8 (C:\LLVM\bin\clang-tidy.exe+0xeb21d8)
#13 0x00007ff63302ac21 (C:\LLVM\bin\clang-tidy.exe+0xe5ac21)
#14 0x00007ff633023742 (C:\LLVM\bin\clang-tidy.exe+0xe53742)
#15 0x00007ff6330907f5 (C:\LLVM\bin\clang-tidy.exe+0xec07f5)
#16 0x00007ff633023d6f (C:\LLVM\bin\clang-tidy.exe+0xe53d6f)
#17 0x00007ff63308221a (C:\LLVM\bin\clang-tidy.exe+0xeb221a)
#18 0x00007ff63302ac21 (C:\LLVM\bin\clang-tidy.exe+0xe5ac21)
#19 0x00007ff633023742 (C:\LLVM\bin\clang-tidy.exe+0xe53742)
#20 0x00007ff6330907f5 (C:\LLVM\bin\clang-tidy.exe+0xec07f5)
#21 0x00007ff633023d6f (C:\LLVM\bin\clang-tidy.exe+0xe53d6f)
#22 0x00007ff6325517c5 (C:\LLVM\bin\clang-tidy.exe+0x3817c5)
#23 0x00007ff63255285e (C:\LLVM\bin\clang-tidy.exe+0x38285e)
#24 0x00007ff632554209 (C:\LLVM\bin\clang-tidy.exe+0x384209)
#25 0x00007ff63392c683 (C:\LLVM\bin\clang-tidy.exe+0x175c683)
#26 0x00007ff63394930b (C:\LLVM\bin\clang-tidy.exe+0x177930b)
#27 0x00007ff63392bb72 (C:\LLVM\bin\clang-tidy.exe+0x175bb72)
#28 0x00007ff63392cada (C:\LLVM\bin\clang-tidy.exe+0x175cada)
#29 0x00007ff633930d6b (C:\LLVM\bin\clang-tidy.exe+0x1760d6b)
#30 0x00007ff63392ce4e (C:\LLVM\bin\clang-tidy.exe+0x175ce4e)
#31 0x00007ff63392e68b (C:\LLVM\bin\clang-tidy.exe+0x175e68b)
#32 0x00007ff63392cc6e (C:\LLVM\bin\clang-tidy.exe+0x175cc6e)
#33 0x00007ff633933d6b (C:\LLVM\bin\clang-tidy.exe+0x1763d6b)
#34 0x00007ff63392d28c (C:\LLVM\bin\clang-tidy.exe+0x175d28c)
#35 0x00007ff63390e7bd (C:\LLVM\bin\clang-tidy.exe+0x173e7bd)
#36 0x00007ff633f9242c (C:\LLVM\bin\clang-tidy.exe+0x1dc242c)
#37 0x00007ff634160eb3 (C:\LLVM\bin\clang-tidy.exe+0x1f90eb3)
#38 0x00007ff633f976c5 (C:\LLVM\bin\clang-tidy.exe+0x1dc76c5)
#39 0x00007ff633f78fb4 (C:\LLVM\bin\clang-tidy.exe+0x1da8fb4)
#40 0x00007ff6339f69e0 (C:\LLVM\bin\clang-tidy.exe+0x18269e0)
#41 0x00007ff633a19549 (C:\LLVM\bin\clang-tidy.exe+0x1849549)
#42 0x00007ff6339f6891 (C:\LLVM\bin\clang-tidy.exe+0x1826891)
#43 0x00007ff6339f5a77 (C:\LLVM\bin\clang-tidy.exe+0x1825a77)
#44 0x00007ff6339f824f (C:\LLVM\bin\clang-tidy.exe+0x182824f)
#45 0x00007ff633a15a6a (C:\LLVM\bin\clang-tidy.exe+0x1845a6a)
#46 0x00007ff6321d3404 (C:\LLVM\bin\clang-tidy.exe+0x3404)
#47 0x00007ff634557b00 (C:\LLVM\bin\clang-tidy.exe+0x2387b00)
#48 0x00007ffb28ac7034 (C:\Windows\System32\KERNEL32.DLL+0x17034)
#49 0x00007ffb293e2651 (C:\Windows\SYSTEM32\ntdll.dll+0x52651)
Illegal instruction
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy1mN2O2zYQhZ9GviFsUKQoURe-2GQdoKjTBt2iRa8CiqJsNbJkiFST7dN3xnZ2d4gUBYOtIdiSrPPxDMkRf5qpfdxmJc9EwexgxsM69O3jxn1x7P0Pm90Y5scPUz-GjT2f2doenf3kM3l_mlo3j_3fbr14tw6z6YcetLMLyzyuw-PZsfWarX1o4WGbiTdw5BWWw-8zfnf7hsvrcbm8897NoZ9G1gHOgfKO7Y0Pm5-7zrvAMvkWYOzrlSjhgB_hgwmOgYfR9yj3zLSta9m0BDZ1bJrBKjyWibesAy4Dyl2m3vrZwvcw_HX6eDb2kzm4j7nk-Xq28nZ_fZ6nP50NcHmpGrzdN_D9xvgexfe9OYyTD73F6sECoBYcy-viGtGH_e7uYcf80pz6wAxrlgOb3XmaAwsTO4Zw9uhFvIMD_vMbLHUzzQe4ZmZsWT_aYWkhuKNjdjb-yBqwCqFat7kW8RDgBmuX0xlJl1t8wy6fD_N0mM2JmfmwnNwYsKyvwcOx3__2_nrW9OP15P_vABeD-c0gNKibukzu2NnM0PbMBOYgamg0bKjrw9DCkjP-hcOn6rpSSpXLTmHL61swt0iuYdAYoFT-JZcFKjJRPyPzZ2QjKilyrfMXyN_7sZ0-ezh7ePTBnaSA08XOoTHebdphuIArVBGsiLBCq-_AoopgZYQtROnSsagi2CLG5qX6DiyoCFbF2KL7jkpAFcGWpBfUSltdpPSCSqOCIKsIWdeyTkOigiB1jDRKJCJBQZA1QXKtpZUJSNeg4ImInZ9HxFw5k0RE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