1 | /*===- TableGen'erated file -------------------------------------*- C++ -*-===*\ |
2 | |* *| |
3 | |* Option Parsing Definitions *| |
4 | |* *| |
5 | |* Automatically generated file, do not edit! *| |
6 | |* *| |
7 | \*===----------------------------------------------------------------------===*/ |
8 | |
9 | ///////// |
10 | // Prefixes |
11 | |
12 | #ifdef PREFIX |
13 | #define COMMA , |
14 | PREFIX(prefix_0, {llvm::StringLiteral("" )}) |
15 | PREFIX(prefix_3, {llvm::StringLiteral("-" ) COMMA llvm::StringLiteral("" )}) |
16 | PREFIX(prefix_1, {llvm::StringLiteral("-" ) COMMA llvm::StringLiteral("--" ) COMMA llvm::StringLiteral("" )}) |
17 | PREFIX(prefix_2, {llvm::StringLiteral("--" ) COMMA llvm::StringLiteral("" )}) |
18 | #undef COMMA |
19 | #endif // PREFIX |
20 | |
21 | ///////// |
22 | // Prefix Union |
23 | |
24 | #ifdef PREFIX_UNION |
25 | #define COMMA , |
26 | PREFIX_UNION({ |
27 | llvm::StringLiteral("-" ) COMMA llvm::StringLiteral("--" ) COMMA llvm::StringLiteral("" )}) |
28 | #undef COMMA |
29 | #endif // PREFIX_UNION |
30 | |
31 | ///////// |
32 | // ValuesCode |
33 | |
34 | #ifdef OPTTABLE_VALUES_CODE |
35 | #endif |
36 | ///////// |
37 | // Groups |
38 | |
39 | #ifdef OPTION |
40 | |
41 | ////////// |
42 | // Options |
43 | |
44 | OPTION(prefix_0, "<input>" , INPUT, Input, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
45 | OPTION(prefix_0, "<unknown>" , UNKNOWN, Unknown, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
46 | OPTION(prefix_1, "-add_rpath" , add_rpath, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
47 | "Add new rpath" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
48 | OPTION(prefix_1, "-change" , change, MultiArg, INVALID, INVALID, nullptr, 0, DefaultVis, 2, |
49 | "Change dependent shared library install name" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
50 | OPTION(prefix_1, "-delete_all_rpaths" , delete_all_rpaths, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
51 | "Delete all rpath directives" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
52 | OPTION(prefix_1, "-delete_rpath" , delete_rpath, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
53 | "Delete specified rpath" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
54 | OPTION(prefix_2, "--help" , help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
55 | OPTION(prefix_3, "-h" , h, Flag, INVALID, help, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
56 | OPTION(prefix_1, "-id" , id, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
57 | "Change dynamic shared library id" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
58 | OPTION(prefix_1, "-prepend_rpath" , prepend_rpath, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
59 | "Add new rpath before other rpaths" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
60 | OPTION(prefix_1, "-rpath" , rpath, MultiArg, INVALID, INVALID, nullptr, 0, DefaultVis, 2, |
61 | "Change rpath path name" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
62 | OPTION(prefix_2, "--version" , version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
63 | "Print the version and exit." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
64 | OPTION(prefix_3, "-V" , V, Flag, INVALID, version, nullptr, 0, DefaultVis, 0, |
65 | "Alias for --version" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
66 | #endif // OPTION |
67 | |
68 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
69 | |
70 | struct SimpleEnumValue { |
71 | const char *Name; |
72 | unsigned Value; |
73 | }; |
74 | |
75 | struct SimpleEnumValueTable { |
76 | const SimpleEnumValue *Table; |
77 | unsigned Size; |
78 | }; |
79 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
80 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
81 | #endif // SIMPLE_ENUM_VALUE_TABLE |
82 | |
83 | |
84 | |