[all-commits] [llvm/llvm-project] 17c294: [clang-scan-deps] Add an API for clang dependency ...

Akira Hatanaka via All-commits all-commits at lists.llvm.org
Thu Sep 9 08:53:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 17c2948d04431e94376e8d7883b5d89fbe705b5e
      https://github.com/llvm/llvm-project/commit/17c2948d04431e94376e8d7883b5d89fbe705b5e
  Author: Akira Hatanaka <ahatanaka at apple.com>
  Date:   2021-09-09 (Thu, 09 Sep 2021)

  Changed paths:
    M clang/include/clang/Frontend/FrontendActions.h
    M clang/include/clang/Tooling/DependencyScanning/DependencyScanningTool.h
    M clang/include/clang/Tooling/DependencyScanning/DependencyScanningWorker.h
    M clang/lib/Frontend/FrontendActions.cpp
    M clang/lib/Tooling/DependencyScanning/DependencyScanningTool.cpp
    M clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
    A clang/test/ClangScanDeps/Inputs/modules_cdb_by_mod_name.json
    A clang/test/ClangScanDeps/Inputs/modules_cdb_clangcl_by_mod_name.json
    A clang/test/ClangScanDeps/modules-full-by-mod-name.cpp
    M clang/tools/clang-scan-deps/ClangScanDeps.cpp

  Log Message:
  -----------
  [clang-scan-deps] Add an API for clang dependency scanner to perform
module lookup by name alone

This removes the need to create a fake source file that imports a
module.

rdar://64538073

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




More information about the All-commits mailing list