[clang] [flang] [flang][Driver] Better error message when multiple actions are specified (PR #165575)
David Spickett via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 29 09:10:36 PDT 2025
================
@@ -312,6 +312,8 @@ def warn_drv_yc_multiple_inputs_clang_cl : Warning<
def warn_drv_potentially_misspelled_joined_argument : Warning<
"joined argument treated as '%0'; did you mean '%1'?">, InGroup<UnknownArgument>;
+def err_drv_too_many_actions: Error<
+ "only one action option is allowed. Got '%0'">;
----------------
DavidSpickett wrote:
No problem. It was very minor and didn't actually block anything in Compiler Explorer that's why I forgot about it :)
https://github.com/llvm/llvm-project/pull/165575
More information about the cfe-commits
mailing list