Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8653855

Browse filesBrowse files
committed
SLASH_Fo and SLASH_Fo_COLON are aliases
1 parent 59dcf4d commit 8653855
Copy full SHA for 8653855

File tree

Expand file treeCollapse file tree

1 file changed

+3
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-4
lines changed

‎clang/lib/Driver/Driver.cpp

Copy file name to clipboardExpand all lines: clang/lib/Driver/Driver.cpp
+3-4Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6211,15 +6211,14 @@ const char *Driver::GetNamedOutputPath(Compilation &C, const JobAction &JA,
62116211
IsCLMode() && !C.getArgs().hasArg(options::OPT__SLASH_Yc) &&
62126212
(isa<PreprocessJobAction>(JA) || isa<PrecompileJobAction>(JA));
62136213
bool HasAnyOutputArg = C.getArgs().hasArg(
6214-
options::OPT_o, options::OPT__SLASH_Fo, options::OPT__SLASH_Fo_COLON);
6214+
options::OPT_o, options::OPT__SLASH_Fo);
62156215

62166216
Arg *FinalOutput = nullptr;
62176217
if (IsCLNonPCH && HasAnyOutputArg) {
62186218
FinalOutput = C.getArgs().getLastArg(
6219-
options::OPT_o, options::OPT__SLASH_Fo, options::OPT__SLASH_Fo_COLON);
6219+
options::OPT_o, options::OPT__SLASH_Fo);
62206220
} else if (IsCLNonPCH) {
6221-
FinalOutput = C.getArgs().getLastArg(options::OPT__SLASH_Fo,
6222-
options::OPT__SLASH_Fo_COLON);
6221+
FinalOutput = C.getArgs().getLastArg(options::OPT__SLASH_Fo);
62236222
} else {
62246223
FinalOutput = C.getArgs().getLastArg(options::OPT_o);
62256224
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.