| 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 OptionStrTable = |
| 35 | 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 | ///////// |
| 49 | // Prefix Union |
| 50 | |
| 51 | #ifdef OPTTABLE_PREFIXES_UNION_CODE |
| 52 | static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = { |
| 53 | 1 /* '-' */, 3 /* '-?' */, 6 /* '/' */, 8 /* '/?' */ |
| 54 | }; |
| 55 | #endif // OPTTABLE_PREFIXES_UNION_CODE |
| 56 | |
| 57 | ///////// |
| 58 | // ValuesCode |
| 59 | |
| 60 | #ifdef OPTTABLE_VALUES_CODE |
| 61 | #endif |
| 62 | ///////// |
| 63 | // Groups |
| 64 | |
| 65 | #ifdef OPTION |
| 66 | |
| 67 | ////////// |
| 68 | // Options |
| 69 | |
| 70 | 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) |
| 71 | 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) |
| 72 | 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) |
| 73 | 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) |
| 74 | 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) |
| 75 | #endif // OPTION |
| 76 | |
| 77 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
| 78 | |
| 79 | struct SimpleEnumValue { |
| 80 | const char *Name; |
| 81 | unsigned Value; |
| 82 | }; |
| 83 | |
| 84 | struct SimpleEnumValueTable { |
| 85 | const SimpleEnumValue *Table; |
| 86 | unsigned Size; |
| 87 | }; |
| 88 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
| 89 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
| 90 | #endif // SIMPLE_ENUM_VALUE_TABLE |
| 91 | |
| 92 | |
| 93 | |