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
45OptionStrTable = 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/////////// SubCommand IDs
60
61#ifdef OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
62static constexpr unsigned OptionSubCommandIDsTable[] = {
63 0 /* subcommands */
64};
65#endif // OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
66
67/////////
68// Prefix Union
69
70#ifdef OPTTABLE_PREFIXES_UNION_CODE
71static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = {
72 1 /* '-' */, 3 /* '--' */
73};
74#endif // OPTTABLE_PREFIXES_UNION_CODE
75
76/////////
77// ValuesCode
78
79#ifdef OPTTABLE_VALUES_CODE
80#endif
81/////////
82// Groups
83
84#ifdef OPTION
85
86//////////
87// Options
88
89OPTION(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)
90OPTION(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)
91OPTION(1, 24 /* -_ */, anonymous_3, Flag, INVALID, strip_underscore, nullptr, 0, DefaultVis, 0,
92 "Alias for --strip-underscore", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
93OPTION(3, 27 /* --format= */, anonymous_1_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
94 "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, 0)
95OPTION(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, 0)
96OPTION(3, 46 /* --help */, help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
97 "Display this help", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
98OPTION(1, 53 /* -h */, anonymous_4, Flag, INVALID, help, nullptr, 0, DefaultVis, 0,
99 "Alias for --help", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
100OPTION(3, 56 /* --no-params */, no_params, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
101 "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, 0)
102OPTION(3, 68 /* --no-strip-underscore */, no_strip_underscore, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
103 "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, 0)
104OPTION(1, 90 /* -n */, anonymous_5, Flag, INVALID, no_strip_underscore, nullptr, 0, DefaultVis, 0,
105 "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, 0)
106OPTION(1, 93 /* -p */, anonymous_6, Flag, INVALID, no_params, nullptr, 0, DefaultVis, 0,
107 "Alias for --no-params", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
108OPTION(3, 96 /* --quote */, quote, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
109 "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, 0)
110OPTION(3, 104 /* --strip-underscore */, strip_underscore, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
111 "Strip the leading underscore", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
112OPTION(1, 123 /* -s */, anonymous_2, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
113 "Alias for --format", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
114OPTION(3, 126 /* --types */, types, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
115 "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, 0)
116OPTION(1, 134 /* -t */, anonymous_7, Flag, INVALID, types, nullptr, 0, DefaultVis, 0,
117 "Alias for --types", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
118OPTION(3, 137 /* --version */, version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
119 "Display the version", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
120#endif // OPTION
121
122#ifdef SIMPLE_ENUM_VALUE_TABLE
123
124struct SimpleEnumValue {
125 const char *Name;
126 unsigned Value;
127};
128
129struct SimpleEnumValueTable {
130 const SimpleEnumValue *Table;
131 unsigned Size;
132};
133static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
134static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
135#endif // SIMPLE_ENUM_VALUE_TABLE
136
137/////////
138
139// SubCommands
140
141#ifdef OPTTABLE_SUBCOMMANDS_CODE
142static constexpr llvm::opt::OptTable::SubCommand OptionSubCommands[] = {
143};
144#endif // OPTTABLE_SUBCOMMANDS_CODE
145
146
147