[clang] 35c4f02 - [NFC][clang][Driver] Specify options for <arg> with -save-temps=<arg> (#80921)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 8 11:35:08 PST 2024
Author: Jacob Lambert
Date: 2024-02-08T11:35:04-08:00
New Revision: 35c4f025f9d4c398eff0c8e49a47a5c7067939ba
URL: https://github.com/llvm/llvm-project/commit/35c4f025f9d4c398eff0c8e49a47a5c7067939ba
DIFF: https://github.com/llvm/llvm-project/commit/35c4f025f9d4c398eff0c8e49a47a5c7067939ba.diff
LOG: [NFC][clang][Driver] Specify options for <arg> with -save-temps=<arg> (#80921)
Added:
Modified:
clang/include/clang/Driver/Options.td
Removed:
################################################################################
diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td
index 4b232b8aab722a..4f498db2d43e69 100644
--- a/clang/include/clang/Driver/Options.td
+++ b/clang/include/clang/Driver/Options.td
@@ -5392,7 +5392,9 @@ def regcall4 : Flag<["-"], "regcall4">, Group<m_Group>,
MarshallingInfoFlag<LangOpts<"RegCall4">>;
def save_temps_EQ : Joined<["-", "--"], "save-temps=">, Flags<[NoXarchOption]>,
Visibility<[ClangOption, CC1Option, FlangOption, FC1Option]>,
- HelpText<"Save intermediate compilation results.">;
+ HelpText<"Save intermediate compilation results. <arg> can be set to cwd for "
+ "current working directory, or obj which will save temporary files in the "
+ "same directory as the final output file">;
def save_temps : Flag<["-", "--"], "save-temps">, Flags<[NoXarchOption]>,
Visibility<[ClangOption, FlangOption, FC1Option]>,
Alias<save_temps_EQ>, AliasArgs<["cwd"]>,
More information about the cfe-commits
mailing list