Bigcheese wrote: It's intentional that Clang reports these as dependencies. What issue do you have where you think this is the wrong behavior?
More specifically, https://reviews.llvm.org/D30882 originally added the behavior. This references an internal Apple bug that occurred when you have code that checks for the presence of a header but does not include it. Not reporting that dependency can lead to failed builds or miscompiles in incremental builds. https://github.com/llvm/llvm-project/pull/120673 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits