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#if defined(OPTTABLE_STR_TABLE_CODE) || defined(OPTTABLE_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 "unsupported\0"
23 "<input>\0"
24 "<unknown>\0"
25 "/?\0"
26 "/canonicalize:\0"
27 "Not supported\0"
28 "/category\0"
29 "/check_for_duplicates:\0"
30 "/dll:\0"
31 "dll\0"
32 "/hashupdate:\0"
33 "file\0"
34 "/hashupdate\0"
35 "/help\0"
36 "/h\0"
37 "/identity:\0"
38 "identity\0"
39 "/inputresource:\0"
40 "/makecdfs:\0"
41 "/managedassemblyname:\0"
42 "assembly\0"
43 "/manifest\0"
44 "Used to specify each manifest that need to be processed\0"
45 "manifest\0"
46 "/nodependency\0"
47 "/nologo\0"
48 "No effect as this tool never writes copyright data. Included for parity\0"
49 "/notify_update\0"
50 "Exit with a special exit code if the output file has changed\0"
51 "/out:\0"
52 "Name of the output manifest. If this is skipped and only one manifest is being operated upon by the tool, that manifest is modified in place\0"
53 "/outputresource:\0"
54 "/outputresource\0"
55 "/replacements:\0"
56 "/rgs:\0"
57 "script\0"
58 "/tlb:\0"
59 "/updateresource:\0"
60 "/validate_file_hashes:\0"
61 "/validate_manifest\0"
62 "/verbose\0"
63 ;
64#ifdef __GNUC__
65#pragma GCC diagnostic pop
66#endif
67
68static constexpr llvm::StringTable
69OptionStrTable = OptionStrTableStorage;
70#undef OPTTABLE_STR_TABLE_CODE
71#endif // OPTTABLE_STR_TABLE_CODE || OPTTABLE_CODE
72
73/////////
74// Tables
75
76#ifdef OPTTABLE_CODE
77static llvm::opt::OptTable::Tables optionTables() {
78 static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = {
79 0 /* prefixes */,
80 2 /* prefixes */, 1 /* '/' */, 3 /* '-' */
81 };
82
83 static constexpr llvm::opt::OptTable::HelpTextVariant OptionHelpTextVariantsTable[] = {
84 {0, 0},
85 };
86
87 static constexpr unsigned OptionSubCommandIDsTable[] = {
88 0 /* subcommands */
89 };
90
91 static constexpr llvm::opt::OptTable::InfoExtra OptionInfoExtrasTable[] = {
92 {0, 0, 0, 0, 0},
93 {106, 0, 0, 0, 0},
94 {123, 0, 0, 0, 0},
95 {160, 0, 0, 0, 0},
96 {218, 0, 0, 0, 0},
97 {293, 0, 0, 0, 0},
98 {675, 0, 0, 0, 0},
99 };
100
101 static constexpr llvm::opt::OptTable::Info OptionInfoTable[] = {
102 {5 /* unsupported */, 0, 0, 0, 0, 0, 0, 0, llvm::opt::Option::GroupClass, 0},
103 {17 /* <input> */, 0, 0, DefaultVis, 0, 0, 0, 0, llvm::opt::Option::InputClass, 0},
104 {25 /* <unknown> */, 0, 0, DefaultVis, 0, 0, 0, 0, llvm::opt::Option::UnknownClass, 0},
105 {35 /* /? */, 0, 0, DefaultVis, 1, 0, 0, 0, llvm::opt::Option::FlagClass, 0},
106 {38 /* /canonicalize: */, 53, 0, DefaultVis, 1, 1, 0, 0, llvm::opt::Option::FlagClass, 0},
107 {67 /* /category */, 53, 0, DefaultVis, 1, 1, 0, 0, llvm::opt::Option::FlagClass, 0},
108 {77 /* /check_for_duplicates: */, 53, 0, DefaultVis, 1, 1, 0, 0, llvm::opt::Option::FlagClass, 0},
109 {100 /* /dll: */, 53, 0, DefaultVis, 1, 1, 0, 1, llvm::opt::Option::JoinedClass, 0},
110 {110 /* /hashupdate: */, 53, 0, DefaultVis, 1, 1, 0, 2, llvm::opt::Option::JoinedClass, 0},
111 {128 /* /hashupdate */, 53, 0, DefaultVis, 1, 1, 9, 0, llvm::opt::Option::FlagClass, 0},
112 {140 /* /help */, 0, 0, DefaultVis, 1, 0, 4, 0, llvm::opt::Option::FlagClass, 0},
113 {146 /* /h */, 0, 0, DefaultVis, 1, 0, 4, 0, llvm::opt::Option::FlagClass, 0},
114 {149 /* /identity: */, 53, 0, DefaultVis, 1, 1, 0, 3, llvm::opt::Option::JoinedClass, 0},
115 {169 /* /inputresource: */, 53, 0, DefaultVis, 1, 1, 0, 2, llvm::opt::Option::JoinedClass, 0},
116 {185 /* /makecdfs: */, 53, 0, DefaultVis, 1, 1, 0, 0, llvm::opt::Option::FlagClass, 0},
117 {196 /* /managedassemblyname: */, 53, 0, DefaultVis, 1, 1, 0, 4, llvm::opt::Option::JoinedClass, 0},
118 {227 /* /manifest */, 237, 0, DefaultVis, 1, 0, 0, 5, llvm::opt::Option::SeparateClass, 0},
119 {302 /* /nodependency */, 53, 0, DefaultVis, 1, 1, 0, 0, llvm::opt::Option::FlagClass, 0},
120 {316 /* /nologo */, 324, 0, DefaultVis, 1, 0, 0, 0, llvm::opt::Option::FlagClass, 0},
121 {397 /* /notify_update */, 412, 0, DefaultVis, 1, 0, 0, 0, llvm::opt::Option::FlagClass, 0},
122 {473 /* /out: */, 479, 0, DefaultVis, 1, 0, 0, 5, llvm::opt::Option::JoinedClass, 0},
123 {621 /* /outputresource: */, 53, 0, DefaultVis, 1, 1, 0, 2, llvm::opt::Option::JoinedClass, 0},
124 {638 /* /outputresource */, 53, 0, DefaultVis, 1, 1, 22, 0, llvm::opt::Option::FlagClass, 0},
125 {654 /* /replacements: */, 53, 0, DefaultVis, 1, 1, 0, 2, llvm::opt::Option::JoinedClass, 0},
126 {669 /* /rgs: */, 53, 0, DefaultVis, 1, 1, 0, 6, llvm::opt::Option::JoinedClass, 0},
127 {682 /* /tlb: */, 53, 0, DefaultVis, 1, 1, 0, 2, llvm::opt::Option::JoinedClass, 0},
128 {688 /* /updateresource: */, 53, 0, DefaultVis, 1, 1, 0, 2, llvm::opt::Option::JoinedClass, 0},
129 {705 /* /validate_file_hashes: */, 53, 0, DefaultVis, 1, 1, 0, 0, llvm::opt::Option::JoinedClass, 0},
130 {728 /* /validate_manifest */, 53, 0, DefaultVis, 1, 1, 0, 0, llvm::opt::Option::FlagClass, 0},
131 {747 /* /verbose */, 53, 0, DefaultVis, 1, 1, 0, 0, llvm::opt::Option::FlagClass, 0},
132 };
133
134 return {OptionStrTableStorage, OptionPrefixesTable,
135 OptionInfoTable, OptionInfoExtrasTable, OptionHelpTextVariantsTable, {}, OptionSubCommandIDsTable};
136}
137#undef OPTTABLE_CODE
138#endif // OPTTABLE_CODE
139
140/////////
141// ValuesCode
142
143#ifdef OPTTABLE_VALUES_CODE
144static llvm::StringRef getOptionValuesCode(unsigned ID) {
145 switch (ID) {
146 }
147 return {};
148}
149#undef OPTTABLE_VALUES_CODE
150#endif // OPTTABLE_VALUES_CODE
151/////////
152// Groups
153
154#ifdef OPTION
155OPTION(0 /* no prefixes */, 5 /* unsupported */, unsupported, Group, INVALID, INVALID, 0, 0, 0, 0, 0, 0, 0, 0, 0)
156
157//////////
158// Options
159
160OPTION(0, 17 /* <input> */, INPUT, Input, INVALID, INVALID, 0, 0, DefaultVis, 0, 0, 0, 0, 0, 0)
161OPTION(0, 25 /* <unknown> */, UNKNOWN, Unknown, INVALID, INVALID, 0, 0, DefaultVis, 0, 0, 0, 0, 0, 0)
162OPTION(1, 35 /* /? */, help, Flag, INVALID, INVALID, 0, 0, DefaultVis, 0, 0, 0, 0, 0, 0)
163OPTION(1, 38 /* /canonicalize: */, canonicalize, Flag, unsupported, INVALID, 0, 0, DefaultVis, 0, 53, 0, 0, 0, 0)
164OPTION(1, 67 /* /category */, category, Flag, unsupported, INVALID, 0, 0, DefaultVis, 0, 53, 0, 0, 0, 0)
165OPTION(1, 77 /* /check_for_duplicates: */, check_for_duplicates, Flag, unsupported, INVALID, 0, 0, DefaultVis, 0, 53, 0, 0, 0, 0)
166OPTION(1, 100 /* /dll: */, dll, Joined, unsupported, INVALID, 0, 0, DefaultVis, 0, 53, 0, 106, 0, 0)
167OPTION(1, 110 /* /hashupdate: */, hash_update, Joined, unsupported, INVALID, 0, 0, DefaultVis, 0, 53, 0, 123, 0, 0)
168OPTION(1, 128 /* /hashupdate */, hash_update_flag, Flag, unsupported, hash_update, 0, 0, DefaultVis, 0, 53, 0, 0, 0, 0)
169OPTION(1, 140 /* /help */, help_long, Flag, INVALID, help, 0, 0, DefaultVis, 0, 0, 0, 0, 0, 0)
170OPTION(1, 146 /* /h */, h, Flag, INVALID, help, 0, 0, DefaultVis, 0, 0, 0, 0, 0, 0)
171OPTION(1, 149 /* /identity: */, identity, Joined, unsupported, INVALID, 0, 0, DefaultVis, 0, 53, 0, 160, 0, 0)
172OPTION(1, 169 /* /inputresource: */, input_resource, Joined, unsupported, INVALID, 0, 0, DefaultVis, 0, 53, 0, 123, 0, 0)
173OPTION(1, 185 /* /makecdfs: */, make_cdfs, Flag, unsupported, INVALID, 0, 0, DefaultVis, 0, 53, 0, 0, 0, 0)
174OPTION(1, 196 /* /managedassemblyname: */, managed_assembly_name, Joined, unsupported, INVALID, 0, 0, DefaultVis, 0, 53, 0, 218, 0, 0)
175OPTION(1, 227 /* /manifest */, manifest, Separate, INVALID, INVALID, 0, 0, DefaultVis, 0, 237, 0, 293, 0, 0)
176OPTION(1, 302 /* /nodependency */, no_dependency, Flag, unsupported, INVALID, 0, 0, DefaultVis, 0, 53, 0, 0, 0, 0)
177OPTION(1, 316 /* /nologo */, no_logo, Flag, INVALID, INVALID, 0, 0, DefaultVis, 0, 324, 0, 0, 0, 0)
178OPTION(1, 397 /* /notify_update */, notify_update, Flag, INVALID, INVALID, 0, 0, DefaultVis, 0, 412, 0, 0, 0, 0)
179OPTION(1, 473 /* /out: */, out, Joined, INVALID, INVALID, 0, 0, DefaultVis, 0, 479, 0, 293, 0, 0)
180OPTION(1, 621 /* /outputresource: */, output_resource, Joined, unsupported, INVALID, 0, 0, DefaultVis, 0, 53, 0, 123, 0, 0)
181OPTION(1, 638 /* /outputresource */, output_resource_flag, Flag, unsupported, output_resource, 0, 0, DefaultVis, 0, 53, 0, 0, 0, 0)
182OPTION(1, 654 /* /replacements: */, replacements, Joined, unsupported, INVALID, 0, 0, DefaultVis, 0, 53, 0, 123, 0, 0)
183OPTION(1, 669 /* /rgs: */, rgs, Joined, unsupported, INVALID, 0, 0, DefaultVis, 0, 53, 0, 675, 0, 0)
184OPTION(1, 682 /* /tlb: */, tlb, Joined, unsupported, INVALID, 0, 0, DefaultVis, 0, 53, 0, 123, 0, 0)
185OPTION(1, 688 /* /updateresource: */, update_resource, Joined, unsupported, INVALID, 0, 0, DefaultVis, 0, 53, 0, 123, 0, 0)
186OPTION(1, 705 /* /validate_file_hashes: */, validate_file_hashes, Joined, unsupported, INVALID, 0, 0, DefaultVis, 0, 53, 0, 0, 0, 0)
187OPTION(1, 728 /* /validate_manifest */, validate_manifest, Flag, unsupported, INVALID, 0, 0, DefaultVis, 0, 53, 0, 0, 0, 0)
188OPTION(1, 747 /* /verbose */, verbose, Flag, unsupported, INVALID, 0, 0, DefaultVis, 0, 53, 0, 0, 0, 0)
189#endif // OPTION
190
191#ifdef SIMPLE_ENUM_VALUE_TABLE
192
193struct SimpleEnumValue {
194 const char *Name;
195 unsigned Value;
196};
197
198struct SimpleEnumValueTable {
199 const SimpleEnumValue *Table;
200 unsigned Size;
201};
202static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
203static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
204#endif // SIMPLE_ENUM_VALUE_TABLE
205