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 |
18 | static 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 | |
40 | static constexpr llvm::StringTable OptionStrTable = |
41 | OptionStrTableStorage; |
42 | #endif // OPTTABLE_STR_TABLE_CODE |
43 | |
44 | ///////// |
45 | // Prefixes |
46 | |
47 | #ifdef OPTTABLE_PREFIXES_TABLE_CODE |
48 | static 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 | ///////// |
57 | // Prefix Union |
58 | |
59 | #ifdef OPTTABLE_PREFIXES_UNION_CODE |
60 | static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = { |
61 | 1 /* '-' */, 3 /* '--' */ |
62 | }; |
63 | #endif // OPTTABLE_PREFIXES_UNION_CODE |
64 | |
65 | ///////// |
66 | // ValuesCode |
67 | |
68 | #ifdef OPTTABLE_VALUES_CODE |
69 | #endif |
70 | ///////// |
71 | // Groups |
72 | |
73 | #ifdef OPTION |
74 | |
75 | ////////// |
76 | // Options |
77 | |
78 | OPTION(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) |
79 | OPTION(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) |
80 | OPTION(3, 24 /* -add_rpath */, add_rpath, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
81 | "Add new rpath" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
82 | OPTION(3, 35 /* -change */, change, MultiArg, INVALID, INVALID, nullptr, 0, DefaultVis, 2, |
83 | "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) |
84 | OPTION(3, 43 /* -delete_all_rpaths */, delete_all_rpaths, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
85 | "Delete all rpath directives" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
86 | OPTION(3, 62 /* -delete_rpath */, delete_rpath, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
87 | "Delete specified rpath" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
88 | OPTION(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) |
89 | OPTION(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) |
90 | OPTION(3, 86 /* -id */, id, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
91 | "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) |
92 | OPTION(3, 90 /* -prepend_rpath */, prepend_rpath, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
93 | "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) |
94 | OPTION(3, 105 /* -rpath */, rpath, MultiArg, INVALID, INVALID, nullptr, 0, DefaultVis, 2, |
95 | "Change rpath path name" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
96 | OPTION(6, 112 /* --version */, version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
97 | "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) |
98 | OPTION(1, 122 /* -V */, V, Flag, INVALID, version, nullptr, 0, DefaultVis, 0, |
99 | "Alias for --version" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
100 | #endif // OPTION |
101 | |
102 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
103 | |
104 | struct SimpleEnumValue { |
105 | const char *Name; |
106 | unsigned Value; |
107 | }; |
108 | |
109 | struct SimpleEnumValueTable { |
110 | const SimpleEnumValue *Table; |
111 | unsigned Size; |
112 | }; |
113 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
114 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
115 | #endif // SIMPLE_ENUM_VALUE_TABLE |
116 | |
117 | |
118 | |