blob: 0db84bcffb76c161d55f7c3d85a7a92bf990ed66 [file] [log] [blame]
Peter Collingbournebc051632015-06-09 21:50:22 +00001include "llvm/Option/OptParser.td"
2
3// lib.exe accepts options starting with either a dash or a slash.
4
5// Flag that takes no arguments.
6class F<string name> : Flag<["/", "-", "-?"], name>;
7
8// Flag that takes one argument after ":".
9class P<string name, string help> :
10 Joined<["/", "-", "-?"], name#":">, HelpText<help>;
11
12def out : P<"out", "Path to file to write output">;
13
14//==============================================================================
15// The flags below do nothing. They are defined only for lib.exe compatibility.
16//==============================================================================
17def nologo : F<"nologo">;