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

    <tr>
        <th>Summary</th>
        <td>
            Missing dependency from clang-scan-deps after b768a8c1db85b9e84fd8b356570a3a8fbe37acf6
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang:tooling
      </td>
    </tr>

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

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

<pre>
    Hi @jansvoboda11 

I know I am late on the ball here, but we have been using clang-scan-deps from LLVM 18 until I recently started to upgrade to 19 and the 20. We use clang-scan-deps as part of our build system to figure out the dependencies of C++ files to build. When I started to integrate test LLVM 19 I noticed that clang-scan-deps was missing output a specific header. This header is included inside a `#ifdef` statement, but there something else going on as well.

I bisected the problem to b768a8c1db85b9e84fd8b356570a3a8fbe37acf6 and the problem exists within `main` as well. And the issue only exists with the non-preprocessor mode, the preprocessor mode works fine (but is to slow).

The problem here is that I don't know exactly how to make a reproducible issue out of this. the include tree is pretty complicated and the source is not something I can share. 

Let me know how I can provide you with more information or how to debug this issue further.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyMVE1v4zgM_TXKhahhy3biHHxoZ1FsgM5tsHPWB21rKkuGRCWTf7-QknSL7WVOiSGS7_HxkSJGMzvEkfUvrP9rJxItPowU0k56fR3_NsC6-pdw8eyl16JpgNXPrH4-wbvzFziBWMEKQvAOaEGQwlpYMCDj30AmggvCIs4IEtFBisbNoKxw81NUwj1p3CJMwa_w9vbPd2gGSI6MhRMEVOjIXiGSCIQayEPa5iA05r_NEYTTBZLXFfxESBG_VBYRNhEI_AQ-BZDJWA3xGgnXXGQycwoIPlEppHFDp9EpgzGnfGP8hfEXmIzFmONLfgU_F3Rw-kzMOMI5ZBkII917OcIJnCejcswi6Au7i4iwmlg08Ym2RCAgbqjMZBQsKDSGCn4sJt4_w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