1/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
2|* *|
3|* Option Parsing Definitions *|
4|* *|
5|* Automatically generated file, do not edit! *|
6|* *|
7\*===----------------------------------------------------------------------===*/
8
9/////////
10// String table
11
12#ifdef OPTTABLE_STR_TABLE_CODE
13
14#ifdef __GNUC__
15#pragma GCC diagnostic push
16#pragma GCC diagnostic ignored "-Woverlength-strings"
17#endif
18static constexpr char OptionStrTableStorage[] =
19 "\0"
20 "-\0"
21 "--\0"
22 "<input>\0"
23 "<unknown>\0"
24 "-c\0"
25 "--help\0"
26 "-h\0"
27 "-i\0"
28 "-m\0"
29 "-p\0"
30 "-t\0"
31 "-v\0"
32 ;
33#ifdef __GNUC__
34#pragma GCC diagnostic pop
35#endif
36
37static constexpr llvm::StringTable
38OptionStrTable = OptionStrTableStorage;
39#endif // OPTTABLE_STR_TABLE_CODE
40
41/////////
42// Prefixes
43
44#ifdef OPTTABLE_PREFIXES_TABLE_CODE
45static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = {
46 0 /* prefixes */,
47 1 /* prefixes */, 1 /* '-' */,
48 1 /* prefixes */, 3 /* '--' */
49};
50#endif // OPTTABLE_PREFIXES_TABLE_CODE
51
52/////////// SubCommand IDs
53
54#ifdef OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
55static constexpr unsigned OptionSubCommandIDsTable[] = {
56 0 /* subcommands */
57};
58#endif // OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
59
60/////////
61// Prefix Union
62
63#ifdef OPTTABLE_PREFIXES_UNION_CODE
64static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = {
65 1 /* '-' */, 3 /* '--' */
66};
67#endif // OPTTABLE_PREFIXES_UNION_CODE
68
69/////////
70// ValuesCode
71
72#ifdef OPTTABLE_VALUES_CODE
73#endif
74/////////
75// Groups
76
77#ifdef OPTION
78
79//////////
80// Options
81
82OPTION(0, 6 /* <input> */, INPUT, Input, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
83OPTION(0, 14 /* <unknown> */, UNKNOWN, Unknown, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
84OPTION(1, 24 /* -c */, max_concurrency, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
85 "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::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<ulong>", nullptr, 0)
86OPTION(3, 27 /* --help */, help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
87 "Display available options", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
88OPTION(1, 34 /* -h */, anonymous_0, Flag, INVALID, help, nullptr, 0, DefaultVis, 0,
89 "Alias for --help", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
90OPTION(1, 37 /* -i */, host_interface, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
91 "Host interface to bind to.", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<string>", nullptr, 0)
92OPTION(1, 40 /* -m */, min_interval, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
93 "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::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<number>", nullptr, 0)
94OPTION(1, 43 /* -p */, port, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
95 "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::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<uint>", nullptr, 0)
96OPTION(1, 46 /* -t */, scan_interval, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
97 "Number of seconds to wait between subsequent automated scans of the filesystem.", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<int>", nullptr, 0)
98OPTION(1, 49 /* -v */, verbose_logging, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
99 "Enable verbose logging.", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
100#endif // OPTION
101
102#ifdef SIMPLE_ENUM_VALUE_TABLE
103
104struct SimpleEnumValue {
105 const char *Name;
106 unsigned Value;
107};
108
109struct SimpleEnumValueTable {
110 const SimpleEnumValue *Table;
111 unsigned Size;
112};
113static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
114static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
115#endif // SIMPLE_ENUM_VALUE_TABLE
116
117/////////
118
119// SubCommands
120
121#ifdef OPTTABLE_SUBCOMMANDS_CODE
122static constexpr llvm::opt::OptTable::SubCommand OptionSubCommands[] = {
123};
124#endif // OPTTABLE_SUBCOMMANDS_CODE
125
126
127