<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/94117>94117</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            scan-build: Incomplete analysis report
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

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

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

<pre>
    When running
```
CC=clang scan-build ./autogen.sh --enable-debug=full && scan-build make -j2
```
on [this project](https://gitlab.xfce.org/xfce/xfce4-power-manager) (at [this commit](https://gitlab.xfce.org/xfce/xfce4-power-manager/-/commit/ed125f3f77db00f01c8b9dc054df22472aae8494)), I get four scan-build bugs, but only three of them are reported in the end.

Here is make output: 
[make.log](https://github.com/user-attachments/files/15522678/make.log)

And scan-build report: 
[scan-build-2024-06-01-183837-131136-1.tar.gz](https://github.com/user-attachments/files/15522682/scan-build-2024-06-01-183837-131136-1.tar.gz)

clang version: 17.0.6
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJysU91u9CYQfRp8g7Bg_H_hi01WVnNfqdcYxjYphhU_SdOnr7y7TTZSW6n6Pgl5bMacOecwI2M0q0McSfNEmnMhc9p8GH-VuwzSqa2Yvf4Yf9vQ0ZCdM24l_Ez4ibT8vq6fz8-kOisr3Uqjko7N2VhNSwKTzMmv6Mq4UcbQydki0zjnlVTnJVtLCbQE2sdju_wdKXuFf6zkHSXNU9pMpJfgX1El0pwJ9FtKl0iqE4GJwLSaZOVc_rEoLH1YCUzH6z3U7OLfMbBdOrliIDBQAr1Mn8DK77v5CbgTIzDdwWBCLaBZqqXr9Mz5woXq50Er3tR6Aag7kBL7eqgJDNf1TF_oiokuPodHe-a8xiM750S9sx80bQGR-oWmDXcqA9KAFx8SamrcsUnR6fLu5vX5CwakJt6c9jldciLVid5_aZ6O_dL69V8s2PJcKr8TmHLEwGRKUm07uhQJTIuxeETRNABt1xOYPuFgeGRxcvpR1430Nx5fWQYcasZbxgUTfdVXHROVEFXLRJlkKNc_f5xrDwSm_1Xyu55b_79hiMa7Q4foSl62hR4rPVSDLHAUneigBcFFsY2qVRybdmg1qrkDlF0llwVkDwpr3uvCjAcF3nIhOtFwUVZdu4iF97ruhaqGmtQcd2lsae3bfjRkYWLMOA61EF1h5Yw2XicbwOE7vSYJwDHoYTzOsGsz1dyamOIXSjLJ4vhlxSHmxSm_XywmpNJJ-xFNvF9ZkYMd_8P4A_Ye2N8zC9OVzGH-jezbCH8FAAD__1UJZF8">