[clang] [clang-scan-deps] Expand response files before the argument adjuster (PR #89950)

Jan Svoboda via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 25 14:27:58 PDT 2024


================
@@ -1069,7 +1069,7 @@ void Clang::AddPreprocessingOptions(Compilation &C, const JobAction &JA,
 
       // If user provided -o, that is the dependency target, except
       // when we are only generating a dependency file.
-      Arg *OutputOpt = Args.getLastArg(options::OPT_o);
+      Arg *OutputOpt = Args.getLastArg(options::OPT_o, options::OPT__SLASH_Fo);
----------------
jansvoboda11 wrote:

This change doesn't affect the test. Let's either add a test that exercises this, or drop this change.

https://github.com/llvm/llvm-project/pull/89950


More information about the cfe-commits mailing list