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_1, {llvm::StringLiteral("-" ) COMMA llvm::StringLiteral("" )}) |
16 | PREFIX(prefix_2, {llvm::StringLiteral("--" ) COMMA llvm::StringLiteral("" )}) |
17 | #undef COMMA |
18 | #endif // PREFIX |
19 | |
20 | ///////// |
21 | // Prefix Union |
22 | |
23 | #ifdef PREFIX_UNION |
24 | #define COMMA , |
25 | PREFIX_UNION({ |
26 | llvm::StringLiteral("-" ) COMMA llvm::StringLiteral("--" ) COMMA llvm::StringLiteral("" )}) |
27 | #undef COMMA |
28 | #endif // PREFIX_UNION |
29 | |
30 | ///////// |
31 | // ValuesCode |
32 | |
33 | #ifdef OPTTABLE_VALUES_CODE |
34 | #endif |
35 | ///////// |
36 | // Groups |
37 | |
38 | #ifdef OPTION |
39 | |
40 | ////////// |
41 | // Options |
42 | |
43 | 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) |
44 | 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) |
45 | OPTION(prefix_1, "-_" , anonymous_3, Flag, INVALID, strip_underscore, nullptr, 0, DefaultVis, 0, |
46 | "Alias for --strip-underscore" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
47 | OPTION(prefix_2, "--format=" , anonymous_1_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
48 | "Specify mangling format. Currently ignored because only 'gnu' is supported" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
49 | OPTION(prefix_2, "--format" , anonymous_0, Separate, INVALID, anonymous_1_EQ, 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) |
50 | OPTION(prefix_2, "--help" , help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
51 | "Display this help" , (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, "-h" , anonymous_4, Flag, INVALID, help, nullptr, 0, DefaultVis, 0, |
53 | "Alias for --help" , (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, "--no-params" , no_params, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
55 | "Skip function parameters and return types" , (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_2, "--no-strip-underscore" , no_strip_underscore, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
57 | "Don't strip the leading underscore" , (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, "-n" , anonymous_5, Flag, INVALID, no_strip_underscore, nullptr, 0, DefaultVis, 0, |
59 | "Alias for --no-strip-underscore" , (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, "-p" , anonymous_6, Flag, INVALID, no_params, nullptr, 0, DefaultVis, 0, |
61 | "Alias for --no-params" , (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, "--strip-underscore" , strip_underscore, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
63 | "Strip the leading underscore" , (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_1, "-s" , anonymous_2, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
65 | "Alias for --format" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
66 | OPTION(prefix_2, "--types" , types, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
67 | "Attempt to demangle types as well as function names" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
68 | OPTION(prefix_1, "-t" , anonymous_7, Flag, INVALID, types, nullptr, 0, DefaultVis, 0, |
69 | "Alias for --types" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
70 | OPTION(prefix_2, "--version" , version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
71 | "Display the version" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
72 | #endif // OPTION |
73 | |
74 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
75 | |
76 | struct SimpleEnumValue { |
77 | const char *Name; |
78 | unsigned Value; |
79 | }; |
80 | |
81 | struct SimpleEnumValueTable { |
82 | const SimpleEnumValue *Table; |
83 | unsigned Size; |
84 | }; |
85 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
86 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
87 | #endif // SIMPLE_ENUM_VALUE_TABLE |
88 | |
89 | |
90 | |