<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/107090>107090</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[ClangStaticAnalyzer] front of bug report, macro_popup did not pop up correctly
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
wr-web
</td>
</tr>
</table>
<pre>
In CSA bug report. When the mouse hovers over a macro, a macro_popup appears. However, some macro_popups are not within the macro tags, causing the macro_popup to fail.
An incorrect example:
```html
<span class="mrange"><span class='macro'>llist_for_each_safe</span>(node, &state->shutdown_handles)<span class='macro_popup'>for (struct llist_node *_next = (node = (&state->shutdown_handles<br>)->next, node->next); node != (&state->shutdown_handles<br>); node = _next, _next = node->next)</span></span>
```
An correct example:
```html
<span class='macro'>HEAD_LOCK(&_PyRuntime)<span class='macro_popup'>PyMutex_LockFlags(&(&_PyRuntime)->interpreters.mutex<br>, _Py_LOCK_DONT_DETACH)</span></span>;
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJykVF2vozYQ_TXmZZSI2CGEBx4IJLpVt92r7kp9RMYMH62xkW2Sm_76yoTcZLfdatWVomB7POec-fBwa_tWIaYkOpCoCPjkOm3Si1ldsAoqXV_TnxTknzKophYMjtq4NfzeoQLXIQx6sgidPqOx4P-Bw8CF0YTm92U56nEagY8jcmPX8KIveEbjb1g94PMlC9wgKO3g0ruuXzi8HRxvrXcRfLK9ah-WBd5paHgv1yQsSJhlCnoltDEoHOAbH0aJhGU3I9mFt1_nBrkcsdyOXIGQ3FrCCkLpYLhqkVBK2PGf5niJMibsKGVvXdloUyIXXWl5g4TlhJ68j_eme6Vr9OoJ3fFhJOxgHXe4InTXOr_rJlfriyo7rmqJltDkW5S3cG_EjTZA6N46MwkHNxmeCQjNSoVvDggrYKG_r79XAssrM4tP3u94SB-Fh_vqMCHsAAv35n8zPUBYAeWd7hHKvxM_p_qLzZfVfu-MH-qL58K_HLOi_PAx__k52PL1-tukXD_gd1bx9frL5PCt_KDFnyc5t_kD7ZvI72nolUMzGnRo7HrwSI-E5lC-XmeFZfHx189lcfyc5S__nTR2-CobQZ2yOmEJDzDdxDRiOxrTMOhSumdJI7Zi2ySxqAQTzb7ZNqwWu7iuWJUEfUpDug2TkG02NKLhmiONar5poj2PeMwjsg1x8K9WyvOw1qYNemsnTDdhHCZhIHmF0s6jiVKFF5it_klGRWBS77SqptaSbeh73z5gXO_kPNNyyVX7yXHXi0xxef0LDYkKaIxWDnTzNNV8tp4HSt3X8yQa9QjTeG8aeQ0mI9POudH6xqEnQk9t77qpWgs9EHryGpbPajT6DxSO0NOs3BJ6WkI7p_TvAAAA__-TpbgG">