[PATCH] D134838: [clang][deps] NFC: Expose more flexible version of `Worker::computeDependencies()`
Jan Svoboda via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 28 15:58:14 PDT 2022
jansvoboda11 created this revision.
jansvoboda11 added reviewers: benlangmuir, Bigcheese.
Herald added a subscriber: ributzka.
Herald added a project: All.
jansvoboda11 requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
This patch adds new member function to `DependencyScanningWorker` that allows clients to pass custom `DiagnosticConsumer`, and returns `bool`.
This provides more flexibility compared to the existing version that automatically stringifies diagnostics and returns them in `llvm::Error`.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D134838
Files:
clang/include/clang/Tooling/DependencyScanning/DependencyScanningWorker.h
clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134838.463700.patch
Type: text/x-patch
Size: 8682 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220928/301b6a04/attachment.bin>
More information about the cfe-commits
mailing list