[PATCH] D132617: [clang][deps] Minor ModuleDepCollector refactorings NFC

Ben Langmuir via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 24 15:44:32 PDT 2022


benlangmuir created this revision.
benlangmuir added a reviewer: jansvoboda11.
Herald added a project: All.
benlangmuir requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

- 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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D132617

Files:
  clang/include/clang/Tooling/DependencyScanning/ModuleDepCollector.h
  clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132617.455405.patch
Type: text/x-patch
Size: 8402 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220824/a44572eb/attachment.bin>


More information about the cfe-commits mailing list