[all-commits] [llvm/llvm-project] 6b4de7: [clang][deps] add support for dependency scanning ...

Connor Sughrue via All-commits all-commits at lists.llvm.org
Fri Aug 4 14:13:33 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b4de7b1c71b6b701e130c2a533d285dc93b8370
      https://github.com/llvm/llvm-project/commit/6b4de7b1c71b6b701e130c2a533d285dc93b8370
  Author: Connor Sughrue <cpsughrue at gmail.com>
  Date:   2023-08-04 (Fri, 04 Aug 2023)

  Changed paths:
    M clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
    A clang/test/ClangScanDeps/modules-cc1.cpp

  Log Message:
  -----------
  [clang][deps] add support for dependency scanning with cc1 command line

Allow users to run a dependency scan with a cc1 command line in addition to a driver command line. DependencyScanningAction was already being run with a cc1 command line, but DependencyScanningWorker::computeDependencies assumed that it was always provided a driver command line. Now DependencyScanningWorker::computeDependencies can handle cc1 command lines too.

Reviewed By: jansvoboda11

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




More information about the All-commits mailing list