1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/tools/llvm-cvtres/Opts.td
Martin Storsjo cb354baeb1 [llvm-cvtres] Allow parameters preceded by '-' in addition to '/'
The real cvtres.exe also allows parameters in either form.

Differential Revision: https://reviews.llvm.org/D46358

llvm-svn: 331402
2018-05-02 21:15:13 +00:00

14 lines
670 B
TableGen

include "llvm/Option/OptParser.td"
// All the switches can be preceded by either '/' or '-'.
def DEFINE : Joined<["/", "-"], "DEFINE:">, HelpText<"">, MetaVarName<"symbol">;
def FOLDDUPS : Flag<["/", "-"], "FOLDDUPS:">, HelpText<"">;
def MACHINE : Joined<["/", "-"], "MACHINE:">, HelpText<"">, MetaVarName<"{ARM|ARM64|EBC|IA64|X64|X86}">;
def NOLOGO : Flag<["/", "-"], "NOLOGO">, HelpText<"">;
def OUT : Joined<["/", "-"], "OUT:">, HelpText<"">, MetaVarName<"filename">;
def READONLY : Flag<["/", "-"], "READONLY">, HelpText<"">;
def VERBOSE : Flag<["/", "-"], "VERBOSE">, HelpText<"">;
def HELP : Flag<["/", "-"], "HELP">;
def H : Flag<["/", "-"], "H">, Alias<HELP>;