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 OptionStrTable =
38 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/////////
53// Prefix Union
54
55#ifdef OPTTABLE_PREFIXES_UNION_CODE
56static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = {
57 1 /* '-' */, 3 /* '--' */
58};
59#endif // OPTTABLE_PREFIXES_UNION_CODE
60
61/////////
62// ValuesCode
63
64#ifdef OPTTABLE_VALUES_CODE
65#endif
66/////////
67// Groups
68
69#ifdef OPTION
70
71//////////
72// Options
73
74OPTION(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)
75OPTION(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)
76OPTION(1, 24 /* -c */, max_concurrency, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
77 "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)
78OPTION(3, 27 /* --help */, help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
79 "Display available options", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
80OPTION(1, 34 /* -h */, anonymous_0, Flag, INVALID, help, nullptr, 0, DefaultVis, 0,
81 "Alias for --help", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
82OPTION(1, 37 /* -i */, host_interface, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
83 "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)
84OPTION(1, 40 /* -m */, min_interval, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
85 "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)
86OPTION(1, 43 /* -p */, port, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
87 "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)
88OPTION(1, 46 /* -t */, scan_interval, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
89 "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)
90OPTION(1, 49 /* -v */, verbose_logging, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
91 "Enable verbose logging.", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
92#endif // OPTION
93
94#ifdef SIMPLE_ENUM_VALUE_TABLE
95
96struct SimpleEnumValue {
97 const char *Name;
98 unsigned Value;
99};
100
101struct SimpleEnumValueTable {
102 const SimpleEnumValue *Table;
103 unsigned Size;
104};
105static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
106static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
107#endif // SIMPLE_ENUM_VALUE_TABLE
108
109
110