[PATCH] D139168: [C++20] [Modules] [ClangScanDeps] Enable to print make-style dependency file within P1689 format (4/4)

Ben Boeckel via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 4 11:28:55 PST 2023


ben.boeckel added a comment.

In D139168#4025277 <https://reviews.llvm.org/D139168#4025277>, @ChuanqiXu wrote:

> Currently we will detect `-MF` in the command line and we will write the make-format dependency output to the corresponding file once we find `-MF`.

When using `clang-scan-deps` with a compdb with multiple command lines, which depfile path will it use? Or must all agree on the same path and options? Because there should be a single one for all scanning that is performed (e.g., in batch mode). Is this really simpler than just adding `-MF` and friends to `clang-scan-deps` directly?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139168/new/

https://reviews.llvm.org/D139168



More information about the cfe-commits mailing list