[PATCH] D144058: [clang][deps] Split lookupModuleOutput out of DependencyConsumer NFC

Ben Langmuir via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 14 16:22:47 PST 2023


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

The idea is to split the callbacks that are used to consume dependency
information (DependencyConsumer) from callbacks that modify the scan
behaviour itself in any way (DependencyActions). Currently this is just
lookupModuleOutput, but we have additional callbacks related to CAS
support that we intend to upstream in the future.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D144058

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144058.497474.patch
Type: text/x-patch
Size: 15818 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230215/feeeec93/attachment-0001.bin>


More information about the cfe-commits mailing list