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

Chuanqi Xu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 5 19:22:51 PST 2023


ChuanqiXu added a comment.

>> In what mode will clang output #include information without erroring about missing .pcm files for import statements? -E -fdirectives-only perhaps? This further exacerbates the need for "fake" command lines and costs on platforms with expensive process execution.
>
> After we land D137526 <https://reviews.llvm.org/D137526>, we are able to do this by: `-M -MF <dep_file> -E`.

BTW, if you are interested, it should be possible to use clang-scan-deps to get the make-style format information.


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

https://reviews.llvm.org/D139168



More information about the cfe-commits mailing list