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 |
18 | static 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 | |
55 | static constexpr llvm::StringTable OptionStrTable = |
56 | OptionStrTableStorage; |
57 | #endif // OPTTABLE_STR_TABLE_CODE |
58 | |
59 | ///////// |
60 | // Prefixes |
61 | |
62 | #ifdef OPTTABLE_PREFIXES_TABLE_CODE |
63 | static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = { |
64 | 0 /* prefixes */, |
65 | 2 /* prefixes */, 3 /* '/' */, 1 /* '-' */ |
66 | }; |
67 | #endif // OPTTABLE_PREFIXES_TABLE_CODE |
68 | |
69 | ///////// |
70 | // Prefix Union |
71 | |
72 | #ifdef OPTTABLE_PREFIXES_UNION_CODE |
73 | static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = { |
74 | 1 /* '-' */, 3 /* '/' */ |
75 | }; |
76 | #endif // OPTTABLE_PREFIXES_UNION_CODE |
77 | |
78 | ///////// |
79 | // ValuesCode |
80 | |
81 | #ifdef OPTTABLE_VALUES_CODE |
82 | #endif |
83 | ///////// |
84 | // Groups |
85 | |
86 | #ifdef OPTION |
87 | |
88 | ////////// |
89 | // Options |
90 | |
91 | OPTION(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) |
92 | OPTION(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) |
93 | OPTION(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) |
94 | OPTION(1, 28 /* /? */, help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
95 | "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) |
96 | OPTION(1, 31 /* /C */, codepage, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
97 | "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) |
98 | OPTION(1, 34 /* /dry-run */, dry_run, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
99 | "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) |
100 | OPTION(1, 43 /* /D */, define, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
101 | "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) |
102 | OPTION(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) |
103 | OPTION(1, 50 /* /FO */, fileout, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
104 | "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) |
105 | OPTION(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) |
106 | OPTION(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) |
107 | OPTION(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) |
108 | OPTION(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) |
109 | OPTION(1, 69 /* /H */, h, Flag, INVALID, help, nullptr, 0, DefaultVis, 0, |
110 | "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) |
111 | OPTION(1, 72 /* /I */, includepath, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
112 | "Add an include path." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
113 | OPTION(1, 75 /* /LN */, lang_name, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
114 | "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) |
115 | OPTION(1, 79 /* /L */, lang_id, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
116 | "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) |
117 | OPTION(1, 82 /* /no-preprocess */, no_preprocess, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
118 | "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) |
119 | OPTION(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) |
120 | OPTION(1, 105 /* /N */, add_null, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
121 | "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) |
122 | OPTION(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) |
123 | OPTION(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) |
124 | OPTION(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) |
125 | OPTION(1, 118 /* /U */, undef, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
126 | "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) |
127 | OPTION(1, 121 /* /V */, verbose, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
128 | "Be verbose." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
129 | OPTION(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) |
130 | OPTION(1, 127 /* /X */, noinclude, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
131 | "Ignore 'include' variable." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
132 | OPTION(1, 130 /* /Y */, dupid_nowarn, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
133 | "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) |
134 | #endif // OPTION |
135 | |
136 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
137 | |
138 | struct SimpleEnumValue { |
139 | const char *Name; |
140 | unsigned Value; |
141 | }; |
142 | |
143 | struct SimpleEnumValueTable { |
144 | const SimpleEnumValue *Table; |
145 | unsigned Size; |
146 | }; |
147 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
148 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
149 | #endif // SIMPLE_ENUM_VALUE_TABLE |
150 | |
151 | |
152 | |