diff options
author | Jan Svoboda <jan_svoboda@apple.com> | 2021-11-18 12:22:55 +0100 |
---|---|---|
committer | Jan Svoboda <jan_svoboda@apple.com> | 2021-11-18 12:31:24 +0100 |
commit | 17ec9d1f6bc1c64a3a49d16852e6f9d705371433 (patch) | |
tree | 4ecc3febfa7e87af5dbab59d20cdc52639a9db34 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 8e47b83ec93de6f92d077240a3665f3a03076957 (diff) | |
download | llvm-17ec9d1f6bc1c64a3a49d16852e6f9d705371433.zip llvm-17ec9d1f6bc1c64a3a49d16852e6f9d705371433.tar.gz llvm-17ec9d1f6bc1c64a3a49d16852e6f9d705371433.tar.bz2 |
[clang][deps] Don't emit `-fmodule-map-file=`
During explicit modules build, when all modules are provided via `-fmodule-file=<path>` and implicit modules and implicit module maps are disabled (`-fno-implicit-modules`, `-fno-implicit-module-maps`), we don't need to load the original module map files at all. This patch stops emitting the `-fmodule-map-file=` arguments we don't need, saving some compilation time due to avoiding parsing such module maps and making the command line shorter.
Reviewed By: bnbarham
Differential Revision: https://reviews.llvm.org/D113473
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions