[all-commits] [llvm/llvm-project] 83c633: [clang][deps] Collect precompiled deps from submod...

Jan Svoboda via All-commits all-commits at lists.llvm.org
Wed Aug 25 01:35:48 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 83c633ea1a5b015cf25056aa1855842cd92c077d
      https://github.com/llvm/llvm-project/commit/83c633ea1a5b015cf25056aa1855842cd92c077d
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2021-08-25 (Wed, 25 Aug 2021)

  Changed paths:
    M clang/include/clang/Tooling/DependencyScanning/ModuleDepCollector.h
    M clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
    A clang/test/ClangScanDeps/Inputs/modules-pch-common-via-submodule/cdb_pch.json
    A clang/test/ClangScanDeps/Inputs/modules-pch-common-via-submodule/cdb_tu.json
    A clang/test/ClangScanDeps/Inputs/modules-pch-common-via-submodule/mod_common.h
    A clang/test/ClangScanDeps/Inputs/modules-pch-common-via-submodule/mod_tu.h
    A clang/test/ClangScanDeps/Inputs/modules-pch-common-via-submodule/mod_tu_sub.h
    A clang/test/ClangScanDeps/Inputs/modules-pch-common-via-submodule/module.modulemap
    A clang/test/ClangScanDeps/Inputs/modules-pch-common-via-submodule/pch.h
    A clang/test/ClangScanDeps/Inputs/modules-pch-common-via-submodule/tu.c
    A clang/test/ClangScanDeps/modules-pch-common-via-submodule.c

  Log Message:
  -----------
  [clang][deps] Collect precompiled deps from submodules too

In this patch, the dependency scanner starts collecting precompiled dependencies from all encountered submodules, not only from top-level modules.

Reviewed By: dexonsmith

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




More information about the All-commits mailing list