diff options
author | Jan Svoboda <jan_svoboda@apple.com> | 2023-07-28 11:45:39 -0700 |
---|---|---|
committer | Jan Svoboda <jan_svoboda@apple.com> | 2023-07-28 12:04:35 -0700 |
commit | c75b331fc23192a8249dc5e95e053258f5fb5194 (patch) | |
tree | 24be38f4227bd2d71244a00dfac3bda32478a799 /llvm/lib/Analysis/BasicAliasAnalysis.cpp | |
parent | 8a077cfe23e3856d406bd3633e1a3026609f3537 (diff) | |
download | llvm-c75b331fc23192a8249dc5e95e053258f5fb5194.zip llvm-c75b331fc23192a8249dc5e95e053258f5fb5194.tar.gz llvm-c75b331fc23192a8249dc5e95e053258f5fb5194.tar.bz2 |
[clang][deps] Remove `ModuleDeps::ImportedByMainFile`
This information is already exposed via `TranslationUnitDeps::ClangModuleDeps` on the `DependencyScanningTool` level, and this patch also adds it on the `DependencyScanningWorker` level via `DependencyConsumer::handleDirectModuleDependency()`.
Besides being redundant, this bit of information is misleading for clients that share single `ModuleDeps` instance between multiple TUs (by using the `AlreadySeen` set). The module can be imported directly in some TUs but transitively in others.
Reviewed By: benlangmuir
Differential Revision: https://reviews.llvm.org/D156563
Diffstat (limited to 'llvm/lib/Analysis/BasicAliasAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions