Skip to content

Commit 35c4f02

Browse files
authored
[NFC][clang][Driver] Specify options for <arg> with -save-temps=<arg> (#80921)
1 parent d0f72f8 commit 35c4f02

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

clang/include/clang/Driver/Options.td

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5392,7 +5392,9 @@ def regcall4 : Flag<["-"], "regcall4">, Group<m_Group>,
53925392
MarshallingInfoFlag<LangOpts<"RegCall4">>;
53935393
def save_temps_EQ : Joined<["-", "--"], "save-temps=">, Flags<[NoXarchOption]>,
53945394
Visibility<[ClangOption, CC1Option, FlangOption, FC1Option]>,
5395-
HelpText<"Save intermediate compilation results.">;
5395+
HelpText<"Save intermediate compilation results. <arg> can be set to cwd for "
5396+
"current working directory, or obj which will save temporary files in the "
5397+
"same directory as the final output file">;
53965398
def save_temps : Flag<["-", "--"], "save-temps">, Flags<[NoXarchOption]>,
53975399
Visibility<[ClangOption, FlangOption, FC1Option]>,
53985400
Alias<save_temps_EQ>, AliasArgs<["cwd"]>,

0 commit comments

Comments
 (0)