Open
Description
I found out clang-scan-deps
is not loading default's clang's config files. They need to be passed explicitly.
More details:
When building a modularized code in cmake on mac (latest brew's LLVM and cmake 4) when I try to build a modularized code I get error that some random file is missing:
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__locale_dir/support/bsd_like.h:21:10: fatal error: 'time.h' file not found
If I pass --config=/Users/hanka/.config/clang
it will work correctly.
clang 20 from homebrew on mac is now using a bunch of configuration files (per each platform and target + user custom config file) clang-scan-deps
and other tools should be able to load clang's default configuration files in same manner as clang.