[all-commits] [llvm/llvm-project] 3b1a68: [clang][deps] Generate command lines lazily (#65691)
Jan Svoboda via All-commits
all-commits at lists.llvm.org
Thu Sep 7 17:46:06 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3b1a68655e1760680b4786afb56dbb5acde272a0
https://github.com/llvm/llvm-project/commit/3b1a68655e1760680b4786afb56dbb5acde272a0
Author: Jan Svoboda <jan_svoboda at apple.com>
Date: 2023-09-07 (Thu, 07 Sep 2023)
Changed paths:
M clang/include/clang/Tooling/DependencyScanning/ModuleDepCollector.h
M clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
M clang/tools/clang-scan-deps/ClangScanDeps.cpp
Log Message:
-----------
[clang][deps] Generate command lines lazily (#65691)
This patch makes the generation of command lines for modular
dependencies lazy/on-demand. That operation is somewhat expensive and
prior to this patch used to be performed multiple times for the
identical `ModuleDeps` (i.e. when they were imported from multiple
different TUs).
More information about the All-commits
mailing list