Page MenuHomePhabricator

[clang][deps] NFC: Handle `DependencyOutputOptions` only once

Authored by jansvoboda11 on Jun 11 2021, 3:43 AM.



There's no need to pass DependencyOutputOptions to each call of handleFileDependency, since the options don't ever change.

This patch adds new handleDependencyOutputOpts method to the DependencyConsumer interface and the dependency scanner uses it to report the options only once.

Diff Detail

Event Timeline

jansvoboda11 requested review of this revision.Jun 11 2021, 3:43 AM
jansvoboda11 created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJun 11 2021, 3:43 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
This revision is now accepted and ready to land.Jun 13 2021, 12:58 PM
This revision was landed with ongoing or failed builds.Jun 14 2021, 6:16 AM
This revision was automatically updated to reflect the committed changes.