[PATCH] D90061: [ms] [llvm-ml] Allow the /Zs parameter as a synonym for -filetype=null
Eric Astor via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 10 07:17:43 PST 2020
epastor updated this revision to Diff 310884.
epastor added a comment.
Use AliasArgs to simplify
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90061/new/
https://reviews.llvm.org/D90061
Files:
llvm/tools/llvm-ml/Opts.td
Index: llvm/tools/llvm-ml/Opts.td
===================================================================
--- llvm/tools/llvm-ml/Opts.td
+++ llvm/tools/llvm-ml/Opts.td
@@ -45,6 +45,8 @@
def assembly_file : MLJoinedOrSeparate<"Ta">,
HelpText<"Assemble source file with name not ending with "
"the .asm extension">;
+def parse_only : MLFlag<"Zs">, HelpText<"Run a syntax-check only">,
+ Alias<filetype>, AliasArgs<"none">;
def bitness : LLVMJoined<"m">, Values<"32,64">,
HelpText<"Target platform (x86 or x86-64)">;
@@ -107,4 +109,3 @@
def codeview_info : UnsupportedFlag<"Zi">, HelpText<"">;
def enable_m510_option : UnsupportedFlag<"Zm">, HelpText<"">;
def structure_packing : UnsupportedJoined<"Zp">, HelpText<"">;
-def parse_only : UnsupportedFlag<"Zs">, HelpText<"">;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90061.310884.patch
Type: text/x-patch
Size: 856 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201210/ea046b6f/attachment.bin>
More information about the llvm-commits
mailing list