[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:00:09 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);
----------------
aganea wrote:

Added a test.

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


More information about the cfe-commits mailing list