[clang] [clang][Dependency Scanning] Canonicalize Defines of a Compiler Invocation As Early As Possible (PR #159620)

Jan Svoboda via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 18 14:04:43 PDT 2025


https://github.com/jansvoboda11 approved this pull request.

LGTM, thanks! FWIW I think this is easy to test even upstream by scanning two TUs with different defines that canonicalize to the same thing, and then checking the number of entries in the module cache. Might be worth doing here.

https://github.com/llvm/llvm-project/pull/159620


More information about the cfe-commits mailing list