| 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 | "/\0" |
| 23 | "/?\0" |
| 24 | "<input>\0" |
| 25 | "<unknown>\0" |
| 26 | "/alternatename:\0" |
| 27 | "/export:\0" |
| 28 | "/include:\0" |
| 29 | ; |
| 30 | #ifdef __GNUC__ |
| 31 | #pragma GCC diagnostic pop |
| 32 | #endif |
| 33 | |
| 34 | static constexpr llvm::StringTable |
| 35 | OptionStrTable = OptionStrTableStorage; |
| 36 | #endif // OPTTABLE_STR_TABLE_CODE |
| 37 | |
| 38 | ///////// |
| 39 | // Prefixes |
| 40 | |
| 41 | #ifdef OPTTABLE_PREFIXES_TABLE_CODE |
| 42 | static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = { |
| 43 | 0 /* prefixes */, |
| 44 | 4 /* prefixes */, 6 /* '/' */, 1 /* '-' */, 8 /* '/?' */, 3 /* '-?' */ |
| 45 | }; |
| 46 | #endif // OPTTABLE_PREFIXES_TABLE_CODE |
| 47 | |
| 48 | /////////// SubCommand IDs |
| 49 | |
| 50 | #ifdef OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE |
| 51 | static constexpr unsigned OptionSubCommandIDsTable[] = { |
| 52 | 0 /* subcommands */ |
| 53 | }; |
| 54 | #endif // OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE |
| 55 | |
| 56 | ///////// |
| 57 | // Prefix Union |
| 58 | |
| 59 | #ifdef OPTTABLE_PREFIXES_UNION_CODE |
| 60 | static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = { |
| 61 | 1 /* '-' */, 3 /* '-?' */, 6 /* '/' */, 8 /* '/?' */ |
| 62 | }; |
| 63 | #endif // OPTTABLE_PREFIXES_UNION_CODE |
| 64 | |
| 65 | ///////// |
| 66 | // ValuesCode |
| 67 | |
| 68 | #ifdef OPTTABLE_VALUES_CODE |
| 69 | #endif |
| 70 | ///////// |
| 71 | // Groups |
| 72 | |
| 73 | #ifdef OPTION |
| 74 | |
| 75 | ////////// |
| 76 | // Options |
| 77 | |
| 78 | OPTION(0, 11 /* <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) |
| 79 | OPTION(0, 19 /* <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) |
| 80 | OPTION(1, 29 /* /alternatename: */, alternatename, Joined, 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) |
| 81 | OPTION(1, 45 /* /export: */, export, Joined, 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) |
| 82 | OPTION(1, 54 /* /include: */, incl, Joined, 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) |
| 83 | #endif // OPTION |
| 84 | |
| 85 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
| 86 | |
| 87 | struct SimpleEnumValue { |
| 88 | const char *Name; |
| 89 | unsigned Value; |
| 90 | }; |
| 91 | |
| 92 | struct SimpleEnumValueTable { |
| 93 | const SimpleEnumValue *Table; |
| 94 | unsigned Size; |
| 95 | }; |
| 96 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
| 97 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
| 98 | #endif // SIMPLE_ENUM_VALUE_TABLE |
| 99 | |
| 100 | ///////// |
| 101 | |
| 102 | // SubCommands |
| 103 | |
| 104 | #ifdef OPTTABLE_SUBCOMMANDS_CODE |
| 105 | static constexpr llvm::opt::OptTable::SubCommand OptionSubCommands[] = { |
| 106 | }; |
| 107 | #endif // OPTTABLE_SUBCOMMANDS_CODE |
| 108 | |
| 109 | |
| 110 | |