[clang] [clang-scan-deps] Expand response files before the argument adjuster (PR #89950)
Alexandre Ganea via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 29 13:05:46 PDT 2024
================
@@ -792,10 +792,15 @@ int clang_scan_deps_main(int argc, char **argv, const llvm::ToolContext &) {
llvm::cl::PrintOptionValues();
+ // Expand response files in advance, so that we can "see" all the arguments
+ // when adjusting below.
+ auto ResponseExpander = expandResponseFiles(std::move(Compilations),
----------------
aganea wrote:
As suggested.
https://github.com/llvm/llvm-project/pull/89950
More information about the cfe-commits
mailing list