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 "--all\0"
25 "-a\0"
26 "--bytes=\0"
27 "--bytes\0"
28 "-f\0"
29 "--help\0"
30 "-h\0"
31 "-n\0"
32 "--print-file-name\0"
33 "--radix=\0"
34 "--radix\0"
35 "-t\0"
36 "--version\0"
37 ;
38#ifdef __GNUC__
39#pragma GCC diagnostic pop
40#endif
41
42static constexpr llvm::StringTable
43OptionStrTable = OptionStrTableStorage;
44#endif // OPTTABLE_STR_TABLE_CODE
45
46/////////
47// Prefixes
48
49#ifdef OPTTABLE_PREFIXES_TABLE_CODE
50static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = {
51 0 /* prefixes */,
52 1 /* prefixes */, 1 /* '-' */,
53 1 /* prefixes */, 3 /* '--' */
54};
55#endif // OPTTABLE_PREFIXES_TABLE_CODE
56
57/////////// SubCommand IDs
58
59#ifdef OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
60static constexpr unsigned OptionSubCommandIDsTable[] = {
61 0 /* subcommands */
62};
63#endif // OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
64
65/////////
66// Prefix Union
67
68#ifdef OPTTABLE_PREFIXES_UNION_CODE
69static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = {
70 1 /* '-' */, 3 /* '--' */
71};
72#endif // OPTTABLE_PREFIXES_UNION_CODE
73
74/////////
75// ValuesCode
76
77#ifdef OPTTABLE_VALUES_CODE
78#endif
79/////////
80// Groups
81
82#ifdef OPTION
83
84//////////
85// Options
86
87OPTION(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)
88OPTION(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)
89OPTION(3, 24 /* --all */, all, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
90 "Silently ignored. Present for GNU strings compatibility", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
91OPTION(1, 30 /* -a */, anonymous_2, Flag, INVALID, all, nullptr, 0, DefaultVis, 0,
92 "Alias for --all", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
93OPTION(3, 33 /* --bytes= */, bytes_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
94 "Print sequences of the specified length", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
95OPTION(3, 42 /* --bytes */, anonymous_0, Separate, INVALID, bytes_EQ, 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)
96OPTION(1, 50 /* -f */, anonymous_3, Flag, INVALID, print_file_name, nullptr, 0, DefaultVis, 0,
97 "Alias for --print-file-name", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
98OPTION(3, 53 /* --help */, help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
99 "Display this help", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
100OPTION(1, 60 /* -h */, anonymous_4, Flag, INVALID, help, nullptr, 0, DefaultVis, 0,
101 "Alias for --help", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
102OPTION(1, 63 /* -n */, anonymous_5, JoinedOrSeparate, INVALID, bytes_EQ, nullptr, 0, DefaultVis, 0,
103 "Alias for --bytes", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
104OPTION(3, 66 /* --print-file-name */, print_file_name, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
105 "Print the name of the file before each string", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
106OPTION(3, 84 /* --radix= */, radix_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
107 "Print the offset within the file with the specified radix: o (octal), d (decimal), x (hexadecimal)", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<radix>", nullptr, 0)
108OPTION(3, 93 /* --radix */, anonymous_1, Separate, INVALID, radix_EQ, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<radix>", nullptr, 0)
109OPTION(1, 101 /* -t */, anonymous_6, JoinedOrSeparate, INVALID, radix_EQ, nullptr, 0, DefaultVis, 0,
110 "Alias for --radix", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<radix>", nullptr, 0)
111OPTION(3, 104 /* --version */, version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
112 "Display the version", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
113#endif // OPTION
114
115#ifdef SIMPLE_ENUM_VALUE_TABLE
116
117struct SimpleEnumValue {
118 const char *Name;
119 unsigned Value;
120};
121
122struct SimpleEnumValueTable {
123 const SimpleEnumValue *Table;
124 unsigned Size;
125};
126static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
127static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
128#endif // SIMPLE_ENUM_VALUE_TABLE
129
130/////////
131
132// SubCommands
133
134#ifdef OPTTABLE_SUBCOMMANDS_CODE
135static constexpr llvm::opt::OptTable::SubCommand OptionSubCommands[] = {
136};
137#endif // OPTTABLE_SUBCOMMANDS_CODE
138
139
140