<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/63101>63101</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Clang-tidy hangs
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
alexolog
</td>
</tr>
</table>
<pre>
We have a project that consists of several sub-projects which is built using cmake and ninja. clang-tidy is invoked via CMAKE_CXX_CLANG_TIDY.
Compiling the project without clang-tidy takes a couple of minutes. With clang-tidy 15, it takes about half an hour. Clang 16 just hangs when it reaches one of the sub-projects and needs to be killed after many hours of running without producing any output (6 processes consuming 100% CPU each on an M1 Mac).
CMAKE_VERBOSE_MAKEFILE is not helping.
I am not sure how to get more information, as I am not very familiar with the tool (it is usually invoked automatically by cmake), so any suggestion is appreciated!
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxUU8tu4zgQ_Brq0ohA0ZYjHXTwKPYi2MnuYl8zezJaUktkTJECH8767wfUxHlcbIhdXV1VbKL3ajJEDSu_sPIhwxikdQ1q-t9qO2WdHa7NNwKJFwKExdln6gMEiQF6a7zywYMdwdOFHGrwsbt7BXl4kaqXoDx0UekA0SszQT_jmQDNAEaZZ8yh12imu6CGa4Iqc7FnGuCiENqn_a-HU_v9-6n9uv_tl9Pfjw__5Yw_ML7_-dvaeVE6sQZJb-JeVJA2ho_EAc_kAaG3cdGUBM_KxEA-h28qyI_QomSiBRVuPV2ikqhHQAPSRpdDm9BQ7OA5-lQzU_JKJnU5wl6SB2vWMUnXp0xW40SDh2ChIzgrrWkAHAM5mNFc1xlrpi4ak7zd_CzODrFPJwlmY1hiACaqXar05D359U7inDAF50yU0P7xDyRJYE0y8FTAE_ZM1J9zXIP-9_Dnl9__OpzSx_Hx6yFdh7EBJOlFmelTxyPgvBZ9dATSviQ7EwWYrSNQZrRuxqCsSWGihzf8hdwVRpyVVuhWa2tGwVqdvKiQpkYfUevr2zJgDDbR9etpd_25REzUid3bNQ8fp4l8GpkYcFkc9QoDDUwU2dBshnpTY0ZNsavKqizua57Jphy2NRdFLaqhHjlV212F5SjGoqs4F90uU43gYsN3fMu3vC55PlJ1v6Hxvhe84vWGsy2nGZXOtb7MuXVTpryP1Ow2BS8yjR1pf3tcrkmguy5Onm25Tm_nvS2ooKlp3xdx3assOt3IEBbPNnsmjkwcJxVk7PLezkwcU_vr323HmDiuEjwTx1XFjwAAAP__oblPdA">