Skip to content

Conversation

@naveen-seth
Copy link
Contributor

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

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
@llvmbot llvmbot added the clang Clang issues not falling into any other category label Aug 27, 2025
@llvmbot
Copy link
Member

llvmbot commented Aug 27, 2025

@llvm/pr-subscribers-clang

Author: Naveen Seth Hanig (naveen-seth)

Changes

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


Full diff: https://github.com/llvm/llvm-project/pull/155523.diff

1 Files Affected:

  • (modified) clang/include/clang/Tooling/DependencyScanning/DependencyScanningTool.h (-1)
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;
 };
 

@naveen-seth naveen-seth requested a review from Bigcheese August 27, 2025 00:07
@naveen-seth naveen-seth changed the title [clang-scan-deps] Remove unused OutputsPaths from FullDependencyConsumer [clang-scan-deps] Remove unused OutputsPaths from FullDependencyConsumer (NFC) Aug 27, 2025
@naveen-seth naveen-seth force-pushed the full-deps-consumer-dead-code branch from 3ce4655 to 25dbd63 Compare October 1, 2025 10:21
@naveen-seth naveen-seth merged commit ab2c4a0 into llvm:main Oct 2, 2025
17 checks passed
mahesh-attarde pushed a commit to mahesh-attarde/llvm-project that referenced this pull request Oct 3, 2025
…mer (NFC) (llvm#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
@naveen-seth naveen-seth deleted the full-deps-consumer-dead-code branch October 20, 2025 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clang Clang issues not falling into any other category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants