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 "-??\0"
23 "/\0"
24 "/?\0"
25 "/??\0"
26 "<input>\0"
27 "<unknown>\0"
28 "/def:\0"
29 "/defArm64Native:\0"
30 "/help\0"
31 "/ignore:\0"
32 "/libpath:\0"
33 "/list\0"
34 "/llvmlibempty\0"
35 "/llvmlibindex:no\0"
36 "/llvmlibindex\0"
37 "/llvmlibthin\0"
38 "/ltcg\0"
39 "/machine:\0"
40 "/nodefaultlib:\0"
41 "/nodefaultlib\0"
42 "/nologo\0"
43 "/out:\0"
44 "/subsystem:\0"
45 "/verbose\0"
46 "/WX:no\0"
47 "/WX\0"
48 ;
49#ifdef __GNUC__
50#pragma GCC diagnostic pop
51#endif
52
53static constexpr llvm::StringTable
54OptionStrTable = OptionStrTableStorage;
55#endif // OPTTABLE_STR_TABLE_CODE
56
57/////////
58// Prefixes
59
60#ifdef OPTTABLE_PREFIXES_TABLE_CODE
61static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = {
62 0 /* prefixes */,
63 4 /* prefixes */, 10 /* '/' */, 1 /* '-' */, 12 /* '/?' */, 3 /* '-?' */,
64 4 /* prefixes */, 15 /* '/??' */, 6 /* '-??' */, 12 /* '/?' */, 3 /* '-?' */
65};
66#endif // OPTTABLE_PREFIXES_TABLE_CODE
67
68/////////// SubCommand IDs
69
70#ifdef OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
71static constexpr unsigned OptionSubCommandIDsTable[] = {
72 0 /* subcommands */
73};
74#endif // OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
75
76/////////
77// Prefix Union
78
79#ifdef OPTTABLE_PREFIXES_UNION_CODE
80static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = {
81 1 /* '-' */, 3 /* '-?' */, 6 /* '-??' */, 10 /* '/' */, 12 /* '/?' */, 15 /* '/??' */
82};
83#endif // OPTTABLE_PREFIXES_UNION_CODE
84
85/////////
86// ValuesCode
87
88#ifdef OPTTABLE_VALUES_CODE
89#endif
90/////////
91// Groups
92
93#ifdef OPTION
94
95//////////
96// Options
97
98OPTION(0, 19 /* <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)
99OPTION(0, 27 /* <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)
100OPTION(1, 37 /* /def: */, deffile, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
101 "def file to use to generate import library", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
102OPTION(1, 43 /* /defArm64Native: */, nativedeffile, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
103 "def file to use to generate native ARM64 symbols in ARM64EC import library", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
104OPTION(1, 60 /* /help */, help, Flag, 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)
105OPTION(1, 66 /* /ignore: */, ignore, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
106 "Specify warning codes to ignore", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
107OPTION(1, 75 /* /libpath: */, libpath, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
108 "Object file search path", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
109OPTION(1, 85 /* /list */, lst, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
110 "List contents of .lib file on stdout", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
111OPTION(1, 91 /* /llvmlibempty */, llvmlibempty, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
112 "When given no contents, produce an empty .lib file", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
113OPTION(1, 105 /* /llvmlibindex:no */, llvmlibindex_no, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
114 "Do not write an index to the output", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
115OPTION(1, 122 /* /llvmlibindex */, llvmlibindex, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
116 "Write an index to the output (default)", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
117OPTION(1, 136 /* /llvmlibthin */, llvmlibthin, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
118 "Make .lib point to .obj files instead of copying their contents", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
119OPTION(1, 149 /* /ltcg */, ltcg, Flag, 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)
120OPTION(1, 155 /* /machine: */, machine, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
121 "Specify target platform", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
122OPTION(1, 165 /* /nodefaultlib: */, nodefaultlib, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
123 "", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
124OPTION(1, 180 /* /nodefaultlib */, nodefaultlib_all, Flag, 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)
125OPTION(1, 194 /* /nologo */, nologo, Flag, 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)
126OPTION(1, 202 /* /out: */, out, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
127 "Path to file to write output", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
128OPTION(1, 208 /* /subsystem: */, subsystem, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
129 "", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
130OPTION(1, 220 /* /verbose */, verbose, Flag, 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)
131OPTION(1, 229 /* /WX:no */, WX_no, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
132 "Don't treat warnings as errors (default)", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
133OPTION(1, 236 /* /WX */, WX, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
134 "Treat warnings as errors", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
135OPTION(6, 15 /* /?? */, help_q, Flag, INVALID, help, 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)
136#endif // OPTION
137
138#ifdef SIMPLE_ENUM_VALUE_TABLE
139
140struct SimpleEnumValue {
141 const char *Name;
142 unsigned Value;
143};
144
145struct SimpleEnumValueTable {
146 const SimpleEnumValue *Table;
147 unsigned Size;
148};
149static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
150static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
151#endif // SIMPLE_ENUM_VALUE_TABLE
152
153/////////
154
155// SubCommands
156
157#ifdef OPTTABLE_SUBCOMMANDS_CODE
158static constexpr llvm::opt::OptTable::SubCommand OptionSubCommands[] = {
159};
160#endif // OPTTABLE_SUBCOMMANDS_CODE
161
162
163