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 "-add_rpath\0"
25 "-change\0"
26 "-delete_all_rpaths\0"
27 "-delete_rpath\0"
28 "--help\0"
29 "-h\0"
30 "-id\0"
31 "-prepend_rpath\0"
32 "-rpath\0"
33 "--version\0"
34 "-V\0"
35 ;
36#ifdef __GNUC__
37#pragma GCC diagnostic pop
38#endif
39
40static constexpr llvm::StringTable
41OptionStrTable = OptionStrTableStorage;
42#endif // OPTTABLE_STR_TABLE_CODE
43
44/////////
45// Prefixes
46
47#ifdef OPTTABLE_PREFIXES_TABLE_CODE
48static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = {
49 0 /* prefixes */,
50 1 /* prefixes */, 1 /* '-' */,
51 2 /* prefixes */, 1 /* '-' */, 3 /* '--' */,
52 1 /* prefixes */, 3 /* '--' */
53};
54#endif // OPTTABLE_PREFIXES_TABLE_CODE
55
56/////////// SubCommand IDs
57
58#ifdef OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
59static constexpr unsigned OptionSubCommandIDsTable[] = {
60 0 /* subcommands */
61};
62#endif // OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
63
64/////////
65// Prefix Union
66
67#ifdef OPTTABLE_PREFIXES_UNION_CODE
68static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = {
69 1 /* '-' */, 3 /* '--' */
70};
71#endif // OPTTABLE_PREFIXES_UNION_CODE
72
73/////////
74// ValuesCode
75
76#ifdef OPTTABLE_VALUES_CODE
77#endif
78/////////
79// Groups
80
81#ifdef OPTION
82
83//////////
84// Options
85
86OPTION(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)
87OPTION(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)
88OPTION(3, 24 /* -add_rpath */, add_rpath, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
89 "Add new rpath", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
90OPTION(3, 35 /* -change */, change, MultiArg, INVALID, INVALID, nullptr, 0, DefaultVis, 2,
91 "Change dependent shared library install name", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
92OPTION(3, 43 /* -delete_all_rpaths */, delete_all_rpaths, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
93 "Delete all rpath directives", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
94OPTION(3, 62 /* -delete_rpath */, delete_rpath, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
95 "Delete specified rpath", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
96OPTION(6, 76 /* --help */, help, Flag, 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)
97OPTION(1, 83 /* -h */, h, Flag, INVALID, help, 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)
98OPTION(3, 86 /* -id */, id, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
99 "Change dynamic shared library id", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
100OPTION(3, 90 /* -prepend_rpath */, prepend_rpath, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
101 "Add new rpath before other rpaths", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
102OPTION(3, 105 /* -rpath */, rpath, MultiArg, INVALID, INVALID, nullptr, 0, DefaultVis, 2,
103 "Change rpath path name", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
104OPTION(6, 112 /* --version */, version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
105 "Print the version and exit.", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
106OPTION(1, 122 /* -V */, V, Flag, INVALID, version, nullptr, 0, DefaultVis, 0,
107 "Alias for --version", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
108#endif // OPTION
109
110#ifdef SIMPLE_ENUM_VALUE_TABLE
111
112struct SimpleEnumValue {
113 const char *Name;
114 unsigned Value;
115};
116
117struct SimpleEnumValueTable {
118 const SimpleEnumValue *Table;
119 unsigned Size;
120};
121static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
122static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
123#endif // SIMPLE_ENUM_VALUE_TABLE
124
125/////////
126
127// SubCommands
128
129#ifdef OPTTABLE_SUBCOMMANDS_CODE
130static constexpr llvm::opt::OptTable::SubCommand OptionSubCommands[] = {
131};
132#endif // OPTTABLE_SUBCOMMANDS_CODE
133
134
135