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 "-_\0"
25 "--format=\0"
26 "--format\0"
27 "--help\0"
28 "-h\0"
29 "--no-params\0"
30 "--no-strip-underscore\0"
31 "-n\0"
32 "-p\0"
33 "--quote\0"
34 "--strip-underscore\0"
35 "-s\0"
36 "--types\0"
37 "-t\0"
38 "--version\0"
39 ;
40#ifdef __GNUC__
41#pragma GCC diagnostic pop
42#endif
43
44static constexpr llvm::StringTable OptionStrTable =
45 OptionStrTableStorage;
46#endif // OPTTABLE_STR_TABLE_CODE
47
48/////////
49// Prefixes
50
51#ifdef OPTTABLE_PREFIXES_TABLE_CODE
52static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = {
53 0 /* prefixes */,
54 1 /* prefixes */, 1 /* '-' */,
55 1 /* prefixes */, 3 /* '--' */
56};
57#endif // OPTTABLE_PREFIXES_TABLE_CODE
58
59/////////
60// Prefix Union
61
62#ifdef OPTTABLE_PREFIXES_UNION_CODE
63static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = {
64 1 /* '-' */, 3 /* '--' */
65};
66#endif // OPTTABLE_PREFIXES_UNION_CODE
67
68/////////
69// ValuesCode
70
71#ifdef OPTTABLE_VALUES_CODE
72#endif
73/////////
74// Groups
75
76#ifdef OPTION
77
78//////////
79// Options
80
81OPTION(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)
82OPTION(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)
83OPTION(1, 24 /* -_ */, anonymous_3, Flag, INVALID, strip_underscore, nullptr, 0, DefaultVis, 0,
84 "Alias for --strip-underscore", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
85OPTION(3, 27 /* --format= */, anonymous_1_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
86 "Specify mangling format. Currently ignored because only 'gnu' is supported", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
87OPTION(3, 37 /* --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::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
88OPTION(3, 46 /* --help */, help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
89 "Display this help", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
90OPTION(1, 53 /* -h */, anonymous_4, Flag, INVALID, help, nullptr, 0, DefaultVis, 0,
91 "Alias for --help", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
92OPTION(3, 56 /* --no-params */, no_params, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
93 "Skip function parameters and return types", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
94OPTION(3, 68 /* --no-strip-underscore */, no_strip_underscore, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
95 "Don't strip the leading underscore", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
96OPTION(1, 90 /* -n */, anonymous_5, Flag, INVALID, no_strip_underscore, nullptr, 0, DefaultVis, 0,
97 "Alias for --no-strip-underscore", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
98OPTION(1, 93 /* -p */, anonymous_6, Flag, INVALID, no_params, nullptr, 0, DefaultVis, 0,
99 "Alias for --no-params", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
100OPTION(3, 96 /* --quote */, quote, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
101 "Quote demangled names with \" \" if not already quoted", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
102OPTION(3, 104 /* --strip-underscore */, strip_underscore, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
103 "Strip the leading underscore", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
104OPTION(1, 123 /* -s */, anonymous_2, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
105 "Alias for --format", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
106OPTION(3, 126 /* --types */, types, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
107 "Attempt to demangle types as well as symbol names", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
108OPTION(1, 134 /* -t */, anonymous_7, Flag, INVALID, types, nullptr, 0, DefaultVis, 0,
109 "Alias for --types", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
110OPTION(3, 137 /* --version */, version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
111 "Display the version", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
112#endif // OPTION
113
114#ifdef SIMPLE_ENUM_VALUE_TABLE
115
116struct SimpleEnumValue {
117 const char *Name;
118 unsigned Value;
119};
120
121struct SimpleEnumValueTable {
122 const SimpleEnumValue *Table;
123 unsigned Size;
124};
125static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
126static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
127#endif // SIMPLE_ENUM_VALUE_TABLE
128
129
130