This is an archive of the discontinued LLVM Phabricator instance.

[clang][deps] NFC: Expose more flexible version of `Worker::computeDependencies()`
ClosedPublic

Authored by jansvoboda11 on Sep 28 2022, 3:58 PM.

Details

Summary

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.

Diff Detail

Event Timeline

jansvoboda11 created this revision.Sep 28 2022, 3:58 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 28 2022, 3:58 PM
Herald added a subscriber: ributzka. · View Herald Transcript
jansvoboda11 requested review of this revision.Sep 28 2022, 3:58 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 28 2022, 3:58 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
benlangmuir accepted this revision.Sep 29 2022, 9:38 AM
This revision is now accepted and ready to land.Sep 29 2022, 9:38 AM