[clang][deps] Remove '-fmodules-cache-path=' arguments
authorJan Svoboda <jan_svoboda@apple.com>
Sat, 12 Mar 2022 10:42:04 +0000 (11:42 +0100)
committerJan Svoboda <jan_svoboda@apple.com>
Sat, 12 Mar 2022 10:42:07 +0000 (11:42 +0100)
commitcf4a31fc0f9745dabbd7d9cba56a6a9045a026d0
tree1ee0c15b1bfc53ad77e7db2975012700a1d912f3
parent7f6af607464e5bcf2bd8b7bc7724a5985d7a0c34
[clang][deps] Remove '-fmodules-cache-path=' arguments

With explicit modules build, the '-fmodules-cache-path=' argument is unused.

This patch removes the argument to avoid warnings or errors (with '-Werror') stemming from that.

Depends on D118915.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D120474
clang/lib/Tooling/DependencyScanning/DependencyScanningTool.cpp
clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
clang/test/ClangScanDeps/modules-inferred-explicit-build.m
clang/tools/clang-scan-deps/ClangScanDeps.cpp