<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/89515>89515</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang-tidy crash in ASTMatcher: Processing bugprone-implicit-widening-of-multiplication-result
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-tidy
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
jackua22
</td>
</tr>
</table>
<pre>
clang-tidy llvm-v18.1.4 crashes with an attached stack.
It happens during analysis of a header file renamed to .cpp. There is a chance that the header is not self-contained and there are undefined types in it. Multiple headers in the same directory showed the same issue.
[ua_MHV_Compiler_et6cbl_src_Gig_Gig.hh.log](https://github.com/llvm/llvm-project/files/15049966/ua_MHV_Compiler_et6cbl_src_Gig_Gig.hh.log)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUkk9v5CgQxT8NvpRs2WD3n4MPnY16dw-RVtporq0ylA0JBgvKifrbj-wkyhxnDgiJgqLeez_M2U2BqBfdg-geC1zZxtS_oH5dUcpiiObea49hKtmZO3j_NpdvzalqqhZ0wmwpw7tjCxgAmVFbMpAZ9Wsl6kdRX_5lsLgsFDKYNbkwAQb09-wyxBEQLKGhBKPzBIkCzmSAI1R6WSqAZ0uJwGVA0BaDJmCLDGzp66HLECJDJj-WOgZGF8gABrNdSgSYCNZgaNzP-b5QBhfAcQXwtHp2i__qtRe21hlnAuMSaY7pDtnGdzLfFZfzSp_yRPew4u3pnx-3v-K8OE_pRnzQg7_lpG9_u2lblbWVj5PoHoU8WeYlC3UR8irkdXJs16HScRbyurn7uZVLii-kWcjrZk0W8tp0dXs-Hw5CXn__S3n-mLMwvTJndcaC-ubYqEOnZHcqbH9EPDZKdWpsOzMOiCelG3WQx5rMOB5V4XpZy7ZuZS1le1Sn6qRV29VYt-dR1d2oRFvTjM5X29xVTFOxG9Sfzl3TFR4H8nnnS8pvkoSUG2-p38UO65RFW3uXOX-3YceefqVvB24L6fL_8xOytpSEusB_KWrKeWNrWKclxUClmxfvtOPy3RkKLkxlHMv5I2-nkV0MZaK8ei7W5Ps_DmWXuKWyq_wZAAD__zbMGl0">