Files
clang-p2996/clang/lib/Tooling/DependencyScanning/DependencyScanningTool.cpp
Jan Svoboda f95ff81627 [clang][deps] NFC: Handle DependencyOutputOptions only once
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.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D104104
2021-06-14 15:16:08 +02:00

7.1 KiB