| 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 | "unsupported\0" |
| 23 | "<input>\0" |
| 24 | "<unknown>\0" |
| 25 | "/?\0" |
| 26 | "/canonicalize:\0" |
| 27 | "/category\0" |
| 28 | "/check_for_duplicates:\0" |
| 29 | "/dll:\0" |
| 30 | "/hashupdate:\0" |
| 31 | "/hashupdate\0" |
| 32 | "/help\0" |
| 33 | "/h\0" |
| 34 | "/identity:\0" |
| 35 | "/inputresource:\0" |
| 36 | "/makecdfs:\0" |
| 37 | "/managedassemblyname:\0" |
| 38 | "/manifest\0" |
| 39 | "/nodependency\0" |
| 40 | "/nologo\0" |
| 41 | "/notify_update\0" |
| 42 | "/out:\0" |
| 43 | "/outputresource:\0" |
| 44 | "/outputresource\0" |
| 45 | "/replacements:\0" |
| 46 | "/rgs:\0" |
| 47 | "/tlb:\0" |
| 48 | "/updateresource:\0" |
| 49 | "/validate_file_hashes:\0" |
| 50 | "/validate_manifest\0" |
| 51 | "/verbose\0" |
| 52 | ; |
| 53 | #ifdef __GNUC__ |
| 54 | #pragma GCC diagnostic pop |
| 55 | #endif |
| 56 | |
| 57 | static constexpr llvm::StringTable OptionStrTable = |
| 58 | OptionStrTableStorage; |
| 59 | #endif // OPTTABLE_STR_TABLE_CODE |
| 60 | |
| 61 | ///////// |
| 62 | // Prefixes |
| 63 | |
| 64 | #ifdef OPTTABLE_PREFIXES_TABLE_CODE |
| 65 | static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = { |
| 66 | 0 /* prefixes */, |
| 67 | 2 /* prefixes */, 3 /* '/' */, 1 /* '-' */ |
| 68 | }; |
| 69 | #endif // OPTTABLE_PREFIXES_TABLE_CODE |
| 70 | |
| 71 | ///////// |
| 72 | // Prefix Union |
| 73 | |
| 74 | #ifdef OPTTABLE_PREFIXES_UNION_CODE |
| 75 | static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = { |
| 76 | 1 /* '-' */, 3 /* '/' */ |
| 77 | }; |
| 78 | #endif // OPTTABLE_PREFIXES_UNION_CODE |
| 79 | |
| 80 | ///////// |
| 81 | // ValuesCode |
| 82 | |
| 83 | #ifdef OPTTABLE_VALUES_CODE |
| 84 | #endif |
| 85 | ///////// |
| 86 | // Groups |
| 87 | |
| 88 | #ifdef OPTION |
| 89 | OPTION(0 /* no prefixes */, 5 /* unsupported */, unsupported, Group, INVALID, INVALID, nullptr, 0, 0, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 90 | |
| 91 | ////////// |
| 92 | // Options |
| 93 | |
| 94 | OPTION(0, 17 /* <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) |
| 95 | OPTION(0, 25 /* <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) |
| 96 | OPTION(1, 35 /* /? */, 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) |
| 97 | OPTION(1, 38 /* /canonicalize: */, canonicalize, Flag, unsupported, INVALID, nullptr, 0, DefaultVis, 0, |
| 98 | "Not supported" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 99 | OPTION(1, 53 /* /category */, category, Flag, unsupported, INVALID, nullptr, 0, DefaultVis, 0, |
| 100 | "Not supported" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 101 | OPTION(1, 63 /* /check_for_duplicates: */, check_for_duplicates, Flag, unsupported, INVALID, nullptr, 0, DefaultVis, 0, |
| 102 | "Not supported" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 103 | OPTION(1, 86 /* /dll: */, dll, Joined, unsupported, INVALID, nullptr, 0, DefaultVis, 0, |
| 104 | "Not supported" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "dll" , nullptr) |
| 105 | OPTION(1, 92 /* /hashupdate: */, hash_update, Joined, unsupported, INVALID, nullptr, 0, DefaultVis, 0, |
| 106 | "Not supported" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "file" , nullptr) |
| 107 | OPTION(1, 105 /* /hashupdate */, hash_update_flag, Flag, unsupported, hash_update, nullptr, 0, DefaultVis, 0, |
| 108 | "Not supported" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 109 | OPTION(1, 117 /* /help */, help_long, 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) |
| 110 | OPTION(1, 123 /* /h */, h, 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) |
| 111 | OPTION(1, 126 /* /identity: */, identity, Joined, unsupported, INVALID, nullptr, 0, DefaultVis, 0, |
| 112 | "Not supported" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "identity" , nullptr) |
| 113 | OPTION(1, 137 /* /inputresource: */, input_resource, Joined, unsupported, INVALID, nullptr, 0, DefaultVis, 0, |
| 114 | "Not supported" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "file" , nullptr) |
| 115 | OPTION(1, 153 /* /makecdfs: */, make_cdfs, Flag, unsupported, INVALID, nullptr, 0, DefaultVis, 0, |
| 116 | "Not supported" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 117 | OPTION(1, 164 /* /managedassemblyname: */, managed_assembly_name, Joined, unsupported, INVALID, nullptr, 0, DefaultVis, 0, |
| 118 | "Not supported" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "assembly" , nullptr) |
| 119 | OPTION(1, 186 /* /manifest */, manifest, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 120 | "Used to specify each manifest that need to be processed" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "manifest" , nullptr) |
| 121 | OPTION(1, 196 /* /nodependency */, no_dependency, Flag, unsupported, INVALID, nullptr, 0, DefaultVis, 0, |
| 122 | "Not supported" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 123 | OPTION(1, 210 /* /nologo */, no_logo, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 124 | "No effect as this tool never writes copyright data. Included for parity" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 125 | OPTION(1, 218 /* /notify_update */, notify_update, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 126 | "Exit with a special exit code if the output file has changed" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 127 | OPTION(1, 233 /* /out: */, out, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
| 128 | "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" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "manifest" , nullptr) |
| 129 | OPTION(1, 239 /* /outputresource: */, output_resource, Joined, unsupported, INVALID, nullptr, 0, DefaultVis, 0, |
| 130 | "Not supported" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "file" , nullptr) |
| 131 | OPTION(1, 256 /* /outputresource */, output_resource_flag, Flag, unsupported, output_resource, nullptr, 0, DefaultVis, 0, |
| 132 | "Not supported" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 133 | OPTION(1, 272 /* /replacements: */, replacements, Joined, unsupported, INVALID, nullptr, 0, DefaultVis, 0, |
| 134 | "Not supported" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "file" , nullptr) |
| 135 | OPTION(1, 287 /* /rgs: */, rgs, Joined, unsupported, INVALID, nullptr, 0, DefaultVis, 0, |
| 136 | "Not supported" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "script" , nullptr) |
| 137 | OPTION(1, 293 /* /tlb: */, tlb, Joined, unsupported, INVALID, nullptr, 0, DefaultVis, 0, |
| 138 | "Not supported" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "file" , nullptr) |
| 139 | OPTION(1, 299 /* /updateresource: */, update_resource, Joined, unsupported, INVALID, nullptr, 0, DefaultVis, 0, |
| 140 | "Not supported" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "file" , nullptr) |
| 141 | OPTION(1, 316 /* /validate_file_hashes: */, validate_file_hashes, Joined, unsupported, INVALID, nullptr, 0, DefaultVis, 0, |
| 142 | "Not supported" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "" , nullptr) |
| 143 | OPTION(1, 339 /* /validate_manifest */, validate_manifest, Flag, unsupported, INVALID, nullptr, 0, DefaultVis, 0, |
| 144 | "Not supported" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 145 | OPTION(1, 358 /* /verbose */, verbose, Flag, unsupported, INVALID, nullptr, 0, DefaultVis, 0, |
| 146 | "Not supported" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
| 147 | #endif // OPTION |
| 148 | |
| 149 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
| 150 | |
| 151 | struct SimpleEnumValue { |
| 152 | const char *Name; |
| 153 | unsigned Value; |
| 154 | }; |
| 155 | |
| 156 | struct SimpleEnumValueTable { |
| 157 | const SimpleEnumValue *Table; |
| 158 | unsigned Size; |
| 159 | }; |
| 160 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
| 161 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
| 162 | #endif // SIMPLE_ENUM_VALUE_TABLE |
| 163 | |
| 164 | |
| 165 | |