1 | /*===- TableGen'erated file -------------------------------------*- C++ -*-===*\ |
2 | |* *| |
3 | |* Option Parsing Definitions *| |
4 | |* *| |
5 | |* Automatically generated file, do not edit! *| |
6 | |* *| |
7 | \*===----------------------------------------------------------------------===*/ |
8 | |
9 | ///////// |
10 | // Prefixes |
11 | |
12 | #ifdef PREFIX |
13 | #define COMMA , |
14 | PREFIX(prefix_0, {llvm::StringLiteral("" )}) |
15 | PREFIX(prefix_1, {llvm::StringLiteral("-" ) COMMA llvm::StringLiteral("" )}) |
16 | PREFIX(prefix_2, {llvm::StringLiteral("--" ) COMMA llvm::StringLiteral("" )}) |
17 | #undef COMMA |
18 | #endif // PREFIX |
19 | |
20 | ///////// |
21 | // Prefix Union |
22 | |
23 | #ifdef PREFIX_UNION |
24 | #define COMMA , |
25 | PREFIX_UNION({ |
26 | llvm::StringLiteral("-" ) COMMA llvm::StringLiteral("--" ) COMMA llvm::StringLiteral("" )}) |
27 | #undef COMMA |
28 | #endif // PREFIX_UNION |
29 | |
30 | ///////// |
31 | // ValuesCode |
32 | |
33 | #ifdef OPTTABLE_VALUES_CODE |
34 | #endif |
35 | ///////// |
36 | // Groups |
37 | |
38 | #ifdef OPTION |
39 | |
40 | ////////// |
41 | // Options |
42 | |
43 | OPTION(prefix_0, "<input>" , INPUT, Input, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
44 | OPTION(prefix_0, "<unknown>" , UNKNOWN, Unknown, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
45 | OPTION(prefix_1, "-c" , max_concurrency, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
46 | "Maximum number of files to scan concurrently. If 0, use the hardware concurrency." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), "<ulong>" , nullptr) |
47 | OPTION(prefix_2, "--help" , help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
48 | "Display available options" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
49 | OPTION(prefix_1, "-h" , anonymous_0, Flag, INVALID, help, nullptr, 0, DefaultVis, 0, |
50 | "Alias for --help" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
51 | OPTION(prefix_1, "-i" , host_interface, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
52 | "Host interface to bind to." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), "<string>" , nullptr) |
53 | OPTION(prefix_1, "-m" , min_interval, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
54 | "Minimum number of seconds to wait before an on-demand update can betriggered by a request for a buildid which is not in the collection." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), "<number>" , nullptr) |
55 | OPTION(prefix_1, "-p" , port, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
56 | "Port to listen on. Set to 0 to bind to any available port." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), "<uint>" , nullptr) |
57 | OPTION(prefix_1, "-t" , scan_interval, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
58 | "Number of seconds to wait between subsequent automated scans of the filesystem." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), "<int>" , nullptr) |
59 | OPTION(prefix_1, "-v" , verbose_logging, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
60 | "Enable verbose logging." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
61 | #endif // OPTION |
62 | |
63 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
64 | |
65 | struct SimpleEnumValue { |
66 | const char *Name; |
67 | unsigned Value; |
68 | }; |
69 | |
70 | struct SimpleEnumValueTable { |
71 | const SimpleEnumValue *Table; |
72 | unsigned Size; |
73 | }; |
74 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
75 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
76 | #endif // SIMPLE_ENUM_VALUE_TABLE |
77 | |
78 | |
79 | |