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 ,
14PREFIX(prefix_0, {llvm::StringLiteral("")})
15PREFIX(prefix_1, {llvm::StringLiteral("-") COMMA llvm::StringLiteral("")})
16PREFIX(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 ,
25PREFIX_UNION({
26llvm::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
43OPTION(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)
44OPTION(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)
45OPTION(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)
47OPTION(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)
49OPTION(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)
50OPTION(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)
52OPTION(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)
54OPTION(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)
56OPTION(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)
58OPTION(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)
60OPTION(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)
62OPTION(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)
64OPTION(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)
66OPTION(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)
68OPTION(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)
70OPTION(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
76struct SimpleEnumValue {
77 const char *Name;
78 unsigned Value;
79};
80
81struct SimpleEnumValueTable {
82 const SimpleEnumValue *Table;
83 unsigned Size;
84};
85static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
86static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
87#endif // SIMPLE_ENUM_VALUE_TABLE
88
89
90