diff options
Diffstat (limited to 'llvm/lib/LibDriver/Options.td')
-rw-r--r-- | llvm/lib/LibDriver/Options.td | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/llvm/lib/LibDriver/Options.td b/llvm/lib/LibDriver/Options.td new file mode 100644 index 00000000000..0db84bcffb7 --- /dev/null +++ b/llvm/lib/LibDriver/Options.td @@ -0,0 +1,17 @@ +include "llvm/Option/OptParser.td" + +// lib.exe accepts options starting with either a dash or a slash. + +// Flag that takes no arguments. +class F<string name> : Flag<["/", "-", "-?"], name>; + +// Flag that takes one argument after ":". +class P<string name, string help> : + Joined<["/", "-", "-?"], name#":">, HelpText<help>; + +def out : P<"out", "Path to file to write output">; + +//============================================================================== +// The flags below do nothing. They are defined only for lib.exe compatibility. +//============================================================================== +def nologo : F<"nologo">; |