summaryrefslogtreecommitdiffstats
path: root/llvm/lib/LibDriver/Options.td
blob: 0db84bcffb76c161d55f7c3d85a7a92bf990ed66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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">;
OpenPOWER on IntegriCloud