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 "/?\0"
26 "/C\0"
27 "/dry-run\0"
28 "/D\0"
29 "/FM\0"
30 "/FO\0"
31 "/G1\0"
32 "/G2\0"
33 "/GN\0"
34 "/G\0"
35 "/H\0"
36 "/I\0"
37 "/LN\0"
38 "/L\0"
39 "/no-preprocess\0"
40 "/NOLOGO\0"
41 "/N\0"
42 "/Q\0"
43 "/R\0"
44 "/SL\0"
45 "/U\0"
46 "/V\0"
47 "/W\0"
48 "/X\0"
49 "/Y\0"
50 ;
51#ifdef __GNUC__
52#pragma GCC diagnostic pop
53#endif
54
55static constexpr llvm::StringTable
56OptionStrTable = OptionStrTableStorage;
57#endif // OPTTABLE_STR_TABLE_CODE
58
59/////////
60// Prefixes
61
62#ifdef OPTTABLE_PREFIXES_TABLE_CODE
63static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = {
64 0 /* prefixes */,
65 2 /* prefixes */, 3 /* '/' */, 1 /* '-' */
66};
67#endif // OPTTABLE_PREFIXES_TABLE_CODE
68
69/////////// SubCommand IDs
70
71#ifdef OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
72static constexpr unsigned OptionSubCommandIDsTable[] = {
73 0 /* subcommands */
74};
75#endif // OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
76
77/////////
78// Prefix Union
79
80#ifdef OPTTABLE_PREFIXES_UNION_CODE
81static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = {
82 1 /* '-' */, 3 /* '/' */
83};
84#endif // OPTTABLE_PREFIXES_UNION_CODE
85
86/////////
87// ValuesCode
88
89#ifdef OPTTABLE_VALUES_CODE
90#endif
91/////////
92// Groups
93
94#ifdef OPTION
95
96//////////
97// Options
98
99OPTION(0, 5 /* <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)
100OPTION(0, 13 /* <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)
101OPTION(1, 23 /* /### */, _HASH_HASH_HASH, 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)
102OPTION(1, 28 /* /? */, help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
103 "Display this help and exit.", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
104OPTION(1, 31 /* /C */, codepage, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
105 "Set the codepage used for input strings.", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
106OPTION(1, 34 /* /dry-run */, dry_run, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
107 "Don't compile the input; only try to parse it.", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
108OPTION(1, 43 /* /D */, define, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
109 "Define a symbol for the C preprocessor.", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
110OPTION(1, 46 /* /FM */, fm, Separate, 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)
111OPTION(1, 50 /* /FO */, fileout, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
112 "Change the output file location.", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
113OPTION(1, 54 /* /G1 */, g1, 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)
114OPTION(1, 58 /* /G2 */, g2, 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)
115OPTION(1, 62 /* /GN */, gn, 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)
116OPTION(1, 66 /* /G */, g, 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)
117OPTION(1, 69 /* /H */, h, Flag, INVALID, help, nullptr, 0, DefaultVis, 0,
118 "Display this help and exit.", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
119OPTION(1, 72 /* /I */, includepath, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
120 "Add an include path.", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
121OPTION(1, 75 /* /LN */, lang_name, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
122 "Set the default language name.", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
123OPTION(1, 79 /* /L */, lang_id, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
124 "Set the default language identifier.", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
125OPTION(1, 82 /* /no-preprocess */, no_preprocess, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
126 "Don't try to preprocess the input file.", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
127OPTION(1, 97 /* /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)
128OPTION(1, 105 /* /N */, add_null, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
129 "Null-terminate all strings in the string table.", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
130OPTION(1, 108 /* /Q */, q, Separate, 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, 111 /* /R */, r, 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)
132OPTION(1, 114 /* /SL */, sl, 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)
133OPTION(1, 118 /* /U */, undef, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
134 "Undefine a symbol for the C preprocessor.", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
135OPTION(1, 121 /* /V */, verbose, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
136 "Be verbose.", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
137OPTION(1, 124 /* /W */, w, 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)
138OPTION(1, 127 /* /X */, noinclude, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
139 "Ignore 'include' variable.", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
140OPTION(1, 130 /* /Y */, dupid_nowarn, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
141 "Suppress warnings on duplicate resource IDs.", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
142#endif // OPTION
143
144#ifdef SIMPLE_ENUM_VALUE_TABLE
145
146struct SimpleEnumValue {
147 const char *Name;
148 unsigned Value;
149};
150
151struct SimpleEnumValueTable {
152 const SimpleEnumValue *Table;
153 unsigned Size;
154};
155static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
156static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
157#endif // SIMPLE_ENUM_VALUE_TABLE
158
159/////////
160
161// SubCommands
162
163#ifdef OPTTABLE_SUBCOMMANDS_CODE
164static constexpr llvm::opt::OptTable::SubCommand OptionSubCommands[] = {
165};
166#endif // OPTTABLE_SUBCOMMANDS_CODE
167
168
169