[all-commits] [llvm/llvm-project] 0a92e0: [clang][deps] Generate the full command-line for m...

Jan Svoboda via All-commits all-commits at lists.llvm.org
Mon Apr 19 05:33:07 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a92e09c078527b46e37e31dc8c2615a207c7639
      https://github.com/llvm/llvm-project/commit/0a92e09c078527b46e37e31dc8c2615a207c7639
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2021-04-19 (Mon, 19 Apr 2021)

  Changed paths:
    M clang/include/clang/Frontend/CompilerInstance.h
    M clang/include/clang/Tooling/DependencyScanning/ModuleDepCollector.h
    M clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
    M clang/test/ClangScanDeps/modules-full.cpp

  Log Message:
  -----------
  [clang][deps] Generate the full command-line for modules

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

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D100534




More information about the All-commits mailing list