[all-commits] [llvm/llvm-project] c0a551: [clang][deps] Minor ModuleDepCollector refactoring...

Ben Langmuir via All-commits all-commits at lists.llvm.org
Thu Aug 25 06:59:09 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c0a55121618b2f3f5db613cfb0d104a9ae2b700e
  Author: Ben Langmuir <blangmuir at apple.com>
  Date:   2022-08-25 (Thu, 25 Aug 2022)

  Changed paths:
    M clang/include/clang/Tooling/DependencyScanning/ModuleDepCollector.h
    M clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp

  Log Message:
  [clang][deps] Minor ModuleDepCollector refactorings NFC

* Factor module map and module file path functions out
* Use a secondary mapping to lookup module deps by ID instead of the
  preprocessor module map.
* Sink DirectPrebuiltModularDeps into MDC.

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

More information about the All-commits mailing list