[PATCH] D100534: [clang][deps] Generate the full command-line for modules

Jan Svoboda via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 15 01:21:46 PDT 2021


jansvoboda11 created this revision.
jansvoboda11 added reviewers: Bigcheese, dexonsmith.
jansvoboda11 requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This patch uses the new `CompilerInvocation::generateCC1CommandLine` to generate the full canonical command line for modular dependencies, instead of only appending additional arguments.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D100534

Files:
  clang/include/clang/Tooling/DependencyScanning/ModuleDepCollector.h
  clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
  clang/test/ClangScanDeps/modules-full.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100534.337657.patch
Type: text/x-patch
Size: 7079 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210415/92a65bfc/attachment.bin>


More information about the cfe-commits mailing list