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