Skip to content

Commit e1708db

Browse files
committed
Auto stash before rebase of "clang-cl-accept-Fo-fmodule-output" onto "release/19.x"
1 parent e21dc4b commit e1708db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Driver/Driver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5890,7 +5890,7 @@ const char *Driver::GetNamedOutputPath(Compilation &C, const JobAction &JA,
58905890
llvm::PrettyStackTraceString CrashInfo("Computing output path");
58915891
// Output to a user requested destination?
58925892
if (AtTopLevel && !isa<DsymutilJobAction>(JA) && !isa<VerifyJobAction>(JA)) {
5893-
if (Arg *FinalOutput = C.getArgs().getLastArg(options::OPT_o))
5893+
if (Arg *FinalOutput = C.getArgs().getLastArg(options::OPT_o, options::OPT__SLASH_Fo, options::OPT__SLASH_Fo_COLON))
58945894
return C.addResultFile(FinalOutput->getValue(), &JA);
58955895
}
58965896

0 commit comments

Comments
 (0)