[clang] ab2c4a0 - [clang-scan-deps] Remove unused OutputsPaths from FullDependencyConsumer (NFC) (#155523)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 2 14:52:32 PDT 2025
Author: Naveen Seth Hanig
Date: 2025-10-02T23:52:29+02:00
New Revision: ab2c4a0ee1b4710c0f610292b6e9dcb45839c25f
URL: https://github.com/llvm/llvm-project/commit/ab2c4a0ee1b4710c0f610292b6e9dcb45839c25f
DIFF: https://github.com/llvm/llvm-project/commit/ab2c4a0ee1b4710c0f610292b6e9dcb45839c25f.diff
LOG: [clang-scan-deps] Remove unused OutputsPaths from FullDependencyConsumer (NFC) (#155523)
The OutputPaths field of FullDependencyConsumer is not used, and the
resulting TranslationUnitDeps has no corresponding field. This change
removes the unused member.
It was added in commit f978ea4, and this comment in the Differential
Revision suggests it was intended to be removed before landing:
https://reviews.llvm.org/D70268#1772032
Added:
Modified:
clang/include/clang/Tooling/DependencyScanning/DependencyScanningTool.h
Removed:
################################################################################
diff --git a/clang/include/clang/Tooling/DependencyScanning/DependencyScanningTool.h b/clang/include/clang/Tooling/DependencyScanning/DependencyScanningTool.h
index c3601a4e73e1f..f222ded8a966a 100644
--- a/clang/include/clang/Tooling/DependencyScanning/DependencyScanningTool.h
+++ b/clang/include/clang/Tooling/DependencyScanning/DependencyScanningTool.h
@@ -220,7 +220,6 @@ class FullDependencyConsumer : public DependencyConsumer {
std::vector<std::string> VisibleModules;
std::vector<Command> Commands;
std::string ContextHash;
- std::vector<std::string> OutputPaths;
const llvm::DenseSet<ModuleID> &AlreadySeen;
};
More information about the cfe-commits
mailing list